Last active
August 29, 2015 14:25
-
-
Save bhubbard/b595dd2ab15bad1db3b6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!-- Using jQuery --> | |
<script type=”text/javascript” > | |
jQuery( document ).ready( | |
function() { | |
var strAction = $(“#IDX-searchForm”).attr(“action”); | |
console.log(strAction + “?idxID=b040&commingle” ); | |
jQuery(“#IDX-searchForm”).attr(“action”, strAction + “?idxID=b040&commingle” ); | |
}); | |
</script> | |
<!-- Using IDX Broker variable for jQuery --> | |
<script type=”text/javascript” > | |
idx( document ).ready( | |
function() { | |
var strAction = idx(“#IDX-searchForm”).attr(“action”); | |
console.log(strAction + “?idxID=b040&commingle” ); | |
idx(“#IDX-searchForm”).attr(“action”, strAction + “?idxID=b040&commingle” ); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment