ok say you have this code
Code: Select all
alert("Text Here. More text, More text, More text, More text, More text, ")1) The title for the alert
?? can this be changed (in internet explorer it says Internet Explorer, i want this to change to the title of an error message)
2) Add new lines in the box
now this one has me stumped, i hate javascript so dont really use it, and have no idea of new line conventions or anything in javascript
for example.
Id like the output to be something like--
There has been an error on the page.
Error: Site out of sync
ive tried lots of ways of getting new lines, and none work
any help on the above mentioned questions would be great
Thanks
Mal