Jump to content

AJAX popup on form field focus


ghgarcia

Recommended Posts

I'm looking for a way to create a popup help window when a field within a form receives focus. I've been able to create a popup on a mouseover to get information but I'd like to now create a help on field focus.

 

Any help would be greatly appreciated.

 

Thanks,

George

Link to comment
https://forums.phpfreaks.com/topic/63478-ajax-popup-on-form-field-focus/
Share on other sites

with java use my code

 

<script language="javascript" type="text/javascript">
<!--
function popit(url) {
newwindow=window.open(url,'name','height=350,width=350');
if (window.focus) {newwindow.focus()}
return false;
}

// -->
</script>
<a href="javascript:popit('http://www.domain.com/yay/woo/pop.html')">POP IT</a>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.