please find the scren shot attached .
Please solve this issue . thanks .
The script may be defined within the contents of the SCRIPT element or in an external file. If the src attribute is not set, user agents must interpret the contents of the element as the script. If the src has a URI value, user agents must ignore the element's contents and retrieve the script via the URI.
But you can do both...
Thanks Marc , at first i followed this approach only , but later chnaged it (Just want to say that not working either ways)
making sure that the code is properly formatted might get more people to look at it.
If its a Java Code , i would have entered Ctrl + Shift + F on Eclipse IDE to format the code , is there any way or open source plugins to format JSP / HTML Pages to format the code ??
and anyway still the problem persists any help ??
I found the error , its strange , but its fact :
Just Replaced the onclicks function name from myButton to myButtons , may be myButton is a reserved word .
Ravi Kiran Va wrote:... Just Replaced the onclicks function name from myButton to myButtons ...
Can't say without knowing what's in the js file. But if that's what fixed it, my guess is you've defined myButton as a global var.
For example, if you did something like this in your js file...
...and then tried to add...
...that would produce a "not a function" error (it does in Safari anyway). Changing the function name would put a bandage on the situation, but you would still have some messy code.
Again, just a guess.