csam0003
03-25-2009, 02:35 AM
hi all,
I have a javascript function that inputs span tags around some text in any web page I access. In between these tags, I put onmouseover = Somefunction().
This "Somefunction()" is stored in the same js file which does the insertion.
However I noticed that nothing is happening as Somefunction() is not defined.
Do i have to insert the Somefunction() into the webpage aswell or is there a way I can direct the call to the function in the javascript file?
Thanks alot
Regards
Chris
I have a javascript function that inputs span tags around some text in any web page I access. In between these tags, I put onmouseover = Somefunction().
This "Somefunction()" is stored in the same js file which does the insertion.
However I noticed that nothing is happening as Somefunction() is not defined.
Do i have to insert the Somefunction() into the webpage aswell or is there a way I can direct the call to the function in the javascript file?
Thanks alot
Regards
Chris