http://www.dynamicdrive.com/dynamici...jaxcontent.htm
This is in reference to the dynamic ajax content script.
Hi,
I posted before and have been playing around with the script and all was going well. Now I have one page that is loading into the div with one javascript function. I tried to pull the function out of the page and into an external javascript file and then try to load that file with the referring page but to no avail. I must be doing something wrong.
Here is the function that is in the page. I know there are some compatability issues with functions and this script from other forum posts I have read. I wouldn't know though. Any help is appreciated.
Thanks,Code:function select_all_radio_in(elTagName, elClass, elId) { var inputs = document.getElementsByTagName('INPUT'); inputs = filterByParent(inputs, function(el) {return findParentNode(el, elTagName, elClass, elId);}); for(var i = 0; i < inputs.length; ++i) { if(inputs[i].type == 'radio') { inputs[i].checked = 'checked'; } } }
Deon



. Any help is appreciated.
Reply With Quote

Bookmarks