iBrightDev
April 28th, 2007, 17:23
i was working with Colin on a script that we got working for the most part, but now i need it to do a couple other things that i think i can figure out if i can get a little help to get the next part working properly.
here is a link to the text page:
http://www.mct-hosting.com/Untitled-5.php
here is the code so far:
<span id="div3">
<span id="menuID" onclick="document.getElementById('div3').innerHTML='<input type=text value=and name=newvalue onMouseOut=document.getElementById(\'div3\').innerHTML=this. value; >'">and</span>
</span>
<?
if(isset($_GET['action'])) { // Start action check
if ($_GET['action'] == 'thanks') {
echo'Thanks';
}
}
?>
i need the javascript to call the php function on mouseout somehow. if someone can tell me how to do that, i think i can get the rest, and if not, i will let you guys/gal know. thanks in advance for help everyone.
also, the field needs to be clickable after you move the mouse away. not sure why, but it isnt clickable a second time. :S i think i can solve that isse if you can just tell me how to get it to call the function though.
here is a link to the text page:
http://www.mct-hosting.com/Untitled-5.php
here is the code so far:
<span id="div3">
<span id="menuID" onclick="document.getElementById('div3').innerHTML='<input type=text value=and name=newvalue onMouseOut=document.getElementById(\'div3\').innerHTML=this. value; >'">and</span>
</span>
<?
if(isset($_GET['action'])) { // Start action check
if ($_GET['action'] == 'thanks') {
echo'Thanks';
}
}
?>
i need the javascript to call the php function on mouseout somehow. if someone can tell me how to do that, i think i can get the rest, and if not, i will let you guys/gal know. thanks in advance for help everyone.
also, the field needs to be clickable after you move the mouse away. not sure why, but it isnt clickable a second time. :S i think i can solve that isse if you can just tell me how to get it to call the function though.