Last active
October 5, 2015 19:28
-
-
Save andreacfm/2863851 to your computer and use it in GitHub Desktop.
railo-ajax-cfdiv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdiv bind="url:/demo/cfdiv/files/getHTML.cfm?name={myForm2:name}&age={myForm2:age}" | |
bindOnLoad="false" | |
onBindError="onError" | |
id="mydiv1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdiv | |
bind="url:/demo/cfdiv/files/getHTML.cfm?name={myForm2:name}&age={myForm2:age}" | |
onBindError="onError" | |
id="mydiv1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdiv | |
bind="url:/demo/cfdiv/files/getName.cfm?myname={myForm3:name}&myage={myForm3:age}" | |
onBindError="onError" | |
id="mydiv3" | |
tagname="p"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdiv bind="url:/demo/cfdiv/files/time.cfm" bindonload="true" id="my_div"/> | |
<input type="button" onclick="Railo.Ajax.refresh('my_div')" class="submitButton" value="Refresh div 'my_div"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdiv bind="url:/demo/cfdiv/files/time.cfm" bindonload="false" id="another_div"/> | |
<script type="text/javascript"> | |
Railo.Events.subscribe(function(){Railo.Ajax.refresh('another_div')},'onLoad'); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment