0

I have the below code

<script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff(´pic2)" onmouseover="lightup(´pic2´)"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script>

What is happening ? when I try to save onmouseover="turnoff'pic2'),the system is not able to save the file and the changes remains unchanged and the previous turnoff('pic2) appears without quotes ,can anyone help me out why it is happening so??

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by diafol
0

SHouldn't this be posted to the js forum? You seem to have some weird quotes here as opposed to the single quotes you should be using. Are you using Word or something to type out your code??

You also have a quote missing from the turnoff(´pic2).

<script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff('pic2')" onmouseover="lightup('pic2')"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script>

Edited by diafol: n/a

0

SHouldn't this be posted to the js forum? You seem to have some weird quotes here as opposed to the single quotes you should be using. Are you using Word or something to type out your code??

You also have a quote missing from the turnoff(´pic2).

<script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff('pic2')" onmouseover="lightup('pic2')"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script>

yes but when I try saving that it changes to that weird quotes but in second one function
lightup('pic2') it saves but in first function it does not allow me to save..turnoff('pic2') ,it changes to that weird one automatically,

Thanks

0

What, you are using Word??
If so, stop it - immediately.
Use a text editor (Notepad or Notepad++).

I won't even go into turning off smart quotes.

Edited by diafol: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.