Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all !
I need to call diferent nodes in some template using js, someone have an example ?
Thanks all !
Andres-
Can you be more specific on what you are trying to achieve? What do you mean by "call" different nodes with js?
Brad
Use jquery ajax, you can make calls to umbraco webservices. (asmx)
This all depends on what you are wanting to do with the nodes.
You could also call the information server side and pass to page before load
If all you would like to to is include some references to javascript libraries, you can do that in the master page like you normally would do in HTML or you can add it to the XSLT like this:
... <xsl:template match="/"> <xsl:value-of select="umbraco.library:RegisterJavaScriptFile('menujs', '/menu/menuscript.js')"/> ...
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
call nodes with javascript
Hi all !
I need to call diferent nodes in some template using js, someone have an example ?
Thanks all !
Andres-
Can you be more specific on what you are trying to achieve? What do you mean by "call" different nodes with js?
Brad
Use jquery ajax, you can make calls to umbraco webservices. (asmx)
This all depends on what you are wanting to do with the nodes.
You could also call the information server side and pass to page before load
Andres-
If all you would like to to is include some references to javascript libraries, you can do that in the master page like you normally would do in HTML or you can add it to the XSLT like this:
is working on a reply...