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
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>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.