100
rated 0 times
[
106]
[
6]
/ answers: 1 / hits: 32620
/ 8 Years ago, fri, march 4, 2016, 12:00:00
I tried with old question, there they passing the value in js to js.But I would like to pass string from html to javascript. but it gives
Uncaught reference error
my html
is
<a href=# onclick=test(TEST123)>
and my javascript
is,
function test(p){
alert(p)
}
how can I pass the string>
More From » html