Problem with focus on text field and submit button

Discussion in 'Software' started by mahesh557, May 23, 2008.

  1. mahesh557

    mahesh557

    Joined:
    May 23, 2008
    Messages:
    2
    hey my code is like this

    <form id=f action="t.php" method="post">
    <div id="content">
    <object
    ..flash object
    </object>
    <input type=text id=dataField style:'position:absolute: left:40px; top:65px'>

    </div>
    <div id="finish"></div>
    </form>
    <input type="button" onclick="next()">

    i put finish button dynamically
    i put flash content and textfield dynamically in next()

    My problem is when ever next is pressed i need to click two times on textfield(it is overlapped on flash content) to focus on textfield
    i want to set focus on that text field directly without pressing two times?

    Another problem is after typing and hitting enter even without finish button it going to action url which i want to stop?

    Plz solve this
     
    mahesh557, May 23, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mark  mandel

    Start button Right button strange

    mark mandel, Aug 10, 2004, in forum: Computer Support
    Replies:
    1
    Views:
    499
  2. Derek Fountain

    Depth of field: all in focus or out of it?

    Derek Fountain, Sep 12, 2003, in forum: Digital Photography
    Replies:
    6
    Views:
    442
    Robert A. Barr
    Sep 12, 2003
  3. IRISH1EAR

    depth of field , focus points ,group shot canon 10d

    IRISH1EAR, Jan 21, 2004, in forum: Digital Photography
    Replies:
    8
    Views:
    931
  4. Mark Moran
    Replies:
    0
    Views:
    942
    Mark Moran
    Nov 27, 2007
  5. mahesh557
    Replies:
    0
    Views:
    859
    mahesh557
    May 23, 2008
Loading...

Share This Page