I have a form with a textbox and a button. IE is the only browser that will not submit the form when Enter is pressed (works in FF, Opera, Safari, Chrome, etc.).  I found this javascript function to try to coax IE into behaving; but no avail:  functi...
I'm trying to make a number input. I've made so my textbox only accepts numbers via this code:  function isNumber(evt) {     evt = (evt) ? evt : window.event;     var charCode = (evt.which) ? evt.which : evt.keyCode;     if (charCode > 31...
I have a email form text box that while it is empty I would like it to have the value "E-Mail" And when you click on it the text goes away. If someone clicks on it and doesn't enter text. on Blur I would like for it to return to having th...
i am getting city state by entering zipcode using google map api my code is below,  google map api link,  <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>   Script for getting c...
I am currently making an ASP.Net page as a part of a project; While making the main registration/Login page validators (Labels that change their visibility on javascript and trigger on the OnChange event of their recpective textboxes), I faced a prob...
I have the following code to allow only one negative symbol and also negative numbers.  But my user did a testing and said she can copy/cut -ve values from one textbox to another. Ideally, they shouldn't be allowed to copy/cut and paste a negativ...
I started working on some code for a webpage yesterday & i am having trouble getting a few things working.  I have 4 radio buttons, 3 of which have values applied to them & one which allows the user to enter a custom amount with a textfield n...
In Internet Explorer, there is a little x-like button is shown, when you start typing in the textbox. How do I detect the event when this icon is clicked on? Is there an event-type?  <input type="text" value ="" id ="qsearch...
I am using text-transform property to convert inputbox text into Title Case, But I am not getting the exact property or combination to do this.  I also tried   text-transform: capitalize; text-transform: lowercase;   I am trying to auto conversion fo...
How can I get the character positions of the selected text in an HTML <input> textbox element? window.getSelection() doesn't work inside textboxes....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.