Displaying 2 results from an estimated 2 matches for "myallert".
Did you mean:
myalert
2006 Feb 17
6
Ajax.Updater and loading new javascript functions.
...m using the evalScript:true option, and somthing simple like alert
("foobar") gets triggered in my loaded code, but if I try to define a
function and then try to call it like
function myalert(txt)
{
alert(txt)
}
myalert("foobar")
It wont get called.
But if I move myallert() into my main page I can call the function
from the code loaded by Ajax.Update
I would much prefer to have my javascript loaded dynamically with
each different component as needed instead of having to load up
everything when the app is originally loaded.
I tryed including the JS code direc...
2006 Feb 17
4
RE: Ajax.Updater and loading new javascriptfunctions.
...ded code, but if I try to define
a function and then try to call it like
function myalert(txt)
{
alert(txt)
}
myalert("foobar")
It wont get called.
But if I move myallert() into my main page I can call the function from
the code loaded by Ajax.Update
I would much prefer to have my javascript loaded dynamically with each
different component as needed instead of having to load up everything
when the app is originally loaded.
I tryed including the JS code dire...