Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15882

Re: How to perform two even triggers for a single INPUT field?

Newsgroups comp.lang.javascript
Subject Re: How to perform two even triggers for a single INPUT field?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <4ee18e33-627f-4113-9eb6-b2f61519ee9c@n9g2000yqn.googlegroups.com> <66b4ff5c-43d2-47e7-b9d1-c0c2d9160df9@d6g2000yqd.googlegroups.com>
Message-ID <XnsA0CD5F0BD2902eejj99@194.109.133.133> (permalink)
Date 2012-09-13 07:20 +0000

Show all headers | View raw


justaguy wrote on 13 sep 2012 in comp.lang.javascript:

> First, using ExtJS to get a

What is ExtJS?

Let us just talk about javascript as a language without black boxes.

> <input type="text" name="pid" id="pid" onblur="showParts();"
> onSelect="form.submit();">

onSelect is only applicable to a <select><option>

use onfocus with <input type=text>.

=============

form.submit() ?

probably you mean:

this.form.submit() 

==========

Meseems if you submit when selecting an input field, the field never is 
available for human input, unless you submit to a different target than the 
page at hand? Evenso would it not be more logical and userfriendly to 
submit onblur?


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to perform two even triggers for a single INPUT field? justaguy <lichunshen84@gmail.com> - 2012-09-12 13:49 -0700
  Re: How to perform two even triggers for a single INPUT field? justaguy <lichunshen84@gmail.com> - 2012-09-12 15:30 -0700
    Re: How to perform two even triggers for a single INPUT field? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-09-13 07:20 +0000
      Re: How to perform two even triggers for a single INPUT field? David Mark <dmark.cinsoft@gmail.com> - 2012-09-13 17:34 -0700
        Re: How to perform two even triggers for a single INPUT field? justaguy <lichunshen84@gmail.com> - 2012-09-13 19:15 -0700
      Re: How to perform two even triggers for a single INPUT field? dhtml <dhtmlkitchen@gmail.com> - 2012-09-15 12:55 -0700
        Re: How to perform two even triggers for a single INPUT field? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-09-15 20:56 +0000
        Re: How to perform two even triggers for a single INPUT field? David Mark <dmark.cinsoft@gmail.com> - 2012-09-17 22:07 -0700

csiph-web