This topic is locked

Possible Bug html mode to design - changing code

2/15/2007 6:07:30 AM
PHPRunner General questions
G
gdude66 author

Hi,

This has been bugging me all day. I have been inserting the following line in a form

<a class="hintanchor" href="#"

onmouseover="showhint('Please type your first goal here. No spaces or return.', this, event, '150px')" >[?]</a><BR>


but when I flick to desin mode and back or save and close it changes the code to

<A class=hintanchor

onmouseover="showhint('Please type your first goal here. No spaces or return.', this, event, '150px')"

href="#">[?]</A><BR>



This forces thre java to no longer work.

It is getting to the point where I neither want to close my project or flick to design mode in visual editor. Using build 218.

J
Jane 2/15/2007

Graeme,
this code looks right. Both code snippets will work the same way.

It seems that error is in your JavaScript code.

G
gdude66 author 2/17/2007

Graeme,

this code looks right. Both code snippets will work the same way.

It seems that error is in your JavaScript code.



Sorry Jane it was my fault - halfway through the text I had don't and that broke the javascript as the terminating ends are ' '.