hey guys,
ive recently been playing around with javascript, and have had no problems, until now. it is quite a wierd problem. for example, when i define a variable:
this would have no problem, however if i do this:
this would have the error "undefined". im thinking it is the linebreak in the variable. Is there any solution to this so that i may use linebreaks in variables? My objective as you may have noticed is to insert the variable into a value onClick.
Help apreciated!
ive recently been playing around with javascript, and have had no problems, until now. it is quite a wierd problem. for example, when i define a variable:
Code:
var quoteuser_24=new Array()
quoteuser_24[0]='[something]example .......[/something]'
Code:
var quoteuser_24=new Array()
quoteuser_24[0]='[example]<?
?>
[/quote]'
Help apreciated!







