Having difficulty trying to use the parent option in calling a function from the parent script.
Hello,
I have the following situation.
I am attempting to use code already developed by someone else in .asp that works well.
The asp script has a HTML element <div id="imageselected"></div> and a function shown as follows:
function updatethumb(){
$('#imageselected').load('do_updatethumb.asp?pid=<% =pid %>¢er=<% =center %>');
}
There is a 2nd script that calls the updatethumb() function doing a parent.updatethumb().
If I call the script from the address URL the first script works fine all the way through.
I must however call the first srcipt from inside an <iFrame> for our new interface and the following call that should work: parent.updatethumb() does not work and I get an error that:
TypeError: parent.updatethumb is not a function
I would appreciate any help in solving this issue. I have tried a good number of other approaches but I
am missing something that will hopefully fix the issue.
Thanks very, very much,
Kim