Tuesday, October 29, 2013

Polzvaj onKeyDown event. Otherwise tab Performs corenet same work ... EDIT: and the Porazrovih It t


Auto
I have four input type = "text" which seem so: <input type="text" corenet size="3" maxlength="3" name="ip_octet_1" />. <input type="text" size="3" maxlength="3" name="ip_octet_2" corenet />. <input type="text" size="3" maxlength="3" name="ip_octet_3" />. <input type="text" size="3" maxlength="3" name="ip_octet_4" /> Both the doses, corenet to bring them in octets of the IP address! But I want, when you focus on in some of the fields, you vʺveždaš octets, natiskaš corenet '.' (Dot) and fokusʺt to sweep the next input field! How can I realize this functionality?
<input type="text" size="3" maxlength="3" id="1" onkeyup=" keyUPPP() "name="ip_octet_1" /> <input type =" text "size =" 3 "maxlength = "3" corenet id = "2" onkeyup = "keyUPPP ()" name = "ip_octet_2" />
Polzvaj onKeyDown event. Otherwise tab Performs corenet same work ... EDIT: and the Porazrovih It turns that, in Opera you can not podtisneš the event onKeyDown / Up, and only in onkeypress. In this case, in order not to izpisva natisnatata point in the picture is better to enjoy onkeypress <script type="text/javascript"> checkKey function (e, o, NEXT) {if ((e.keyCode? E . keyCode: e.charCode) == 46) {o.form.elements ['ip_octet_' + NEXT]. focus () return false;} return true;}; </ script> corenet <form action="?"> corenet <input type="text" size="3" maxlength="3" name="ip_octet_1" onkeypress="return checkKey( event, this, '2' corenet );" />. <input type="text" size="3" maxlength="3" name="ip_octet_2" onkeypress="return checkKey( event, this, '3' );" />. <input type="text" size="3" maxlength="3" name="ip_octet_3" onkeypress="return checkKey( event, this, '4' );" />. <input type="text" size="3" maxlength="3" name="ip_octet_4" /> </ form>
For the Home Forum Data.BG | - News for Data.BG | - Questions and offers associated with Data.BG | - Problems associated with Data.BG Games | - Requests (games) | - Links (games links ) | - We want ... (Requests games) | - Counter-Strike | - Diablo corenet II | - World Of Warcraft Audio | - Requests (Audio) | - Links (audio links) | - We want ... (Audio requests) Video | - Requests (Video) | - Links - Movies (movies links) | - Clips - Links and Rikuesti (RQ & Links) | - We want ... (Video requests) | - Subtitles - Links and Rikuesti corenet | - Seriale - Links and Rikuesti | - Television Photography and Graphic Design corenet | - Photography | - Pictures corenet - Links and Rikuesti corenet (pictures links) | - Graphic Design Software and Hardware | - Software (discussions) | | - Software (links) | | - Software (requests) corenet | - Hardware Programming | - C / C + + / PHP / Perl | - MySQL / mSQL / M $ SQL / Oracle corenet | - HTML / CSS / Javascript | - Java / JSP / ASP | - Delphi / Visual C / C # / Visual Basic | - Installing and Configuring done Systems Literature | - Requests (Literature) | - Electronic Libraries | - Education | - lubovno novels Sport and Health | - Sports | - Fitness, diets and feeding regimes | - Health corenet Miscellaneous | - News | - GSM & Tablets | - Home Appliances | - Auto . Data.BG | - Polls | - Personal Problems | - Politics and Society | - History & Culture | - Science | - Home & Family | - Hobbies and leisure | - Sex and Erotica [18 +] (link & requests) | - The Lafco ;-) Department Purity | - Archives | ---- For Data.BG corenet (archive) | ---- Game (archive) | ---- Programs (archive ) | ---- Audio (archive) | ---- Video (archive) | ---- Other (Archive) | ---- Data.BG

No comments:

Post a Comment