Results 1 to 2 of 2

Thread: Cursor maintain in search box

  1. #1
    Join Date
    Feb 2013

    Cursor maintain in search box


    I have a little tech. problem but I can't find the solution :-(
    So I hope that here someone can help me with it.

    I have a DIV with a searchbox on the left site of my website.
    And a DIV on the right with the website content

    I have it now so far ready that when typing (with AJAX ) in the searchbox the searchresults appear above in the right DIV.

    I tried then to let the right DIV scroll up to the top in the DIV making this in the search form:

    Works well and the DIV scrolls to the anchor 'TOP' in that DIV.

    But when clicking in the search box (to type a search text) one can't type anymore :-(

    How can I combine so that one when clicks in the searchform the DIV on the right goes up AND one can keep typing something in the search textfield.....

    Many thanks in advance for any suggestions !

  2. #2
    Join Date
    Nov 2007
    Create an HTMl apge iwth just this... the hash changes, but I can continue to type just fine.
    <input type="text" onclick="location.href='#top';"></input>
    Your conflict must lie elsewhere.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center