Skip to content

Tag: html

make div appear on mouse over

I am trying to make a div .description that appears where the mouse is as it hovers over an element. So far, I have this code for making the div appear in a fixed location: It works fine, but instead of just have .description appear, I need it to appear where the mouse hovers. I tried adding this function: bu…

a href=javascript:function() in firefox not working

I tried using a href=javascript:function() in a button, with a function to execute it. It works in Chrome but it doesn’t work in Firefox. Firefox doesn’t alert and open blank tab. Anyone can help me? Below is button code Update I should have added that im using a live editor(profitbuilder) in word…

Call a function after leaving input field

On a contact form, I have several input fields. One of those fields, is an email address field: Right now, I have the email validation function set to the onChange attribute. Thus, while the user is entering characters into the email field, an error message appears the whole time. I want to change this, so th…