Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 479765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:49:29+00:00 2026-05-13T00:49:29+00:00

I have an input box that is inside of a div, the div has

  • 0

I have an input box that is inside of a div, the div has a background image and the input box inside of it is positioned and limited in size / font to work nicely with the background image. In FF everything works as expected, in IE though there is a major issue. I can’t select the text inside of the input box using the mouse or use short-cuts like shift-end/home, ctrl-left/right. You can move around using the mouse keys and use the delete/backspace keys to adjust the text. The HTML looks something like this:

<div class='my_container'>
  <input type='text' name='my_text_input' class='my_input' />
</div>

Any insight would be greatly appreciated.

I would like to add some more information, i’m attaching a Dojo dnd Target to the outside div. If I don’t attach the dnd then I can do the selection, once i’ve attached the dnd, i can’t select the text anymore.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:49:30+00:00Added an answer on May 13, 2026 at 12:49 am

    It seems that this is rather straight forward once one digs through the code being executed by dojo!!!

    In the object being passed to the dojo.dnd.Target constructor, one needs to set the skipForm attribute to true.

    so, it looks something like this:

    var dndTarget = new dojo.dnd.Target(searchBox, {
      isSource: false,
      copyOnly: true,
      selfCopy: false,
      selfAccept: false,
      skipForm: true  // <-- THIS IS THE FIX
    });
    

    This seems to tell dojo not to connect to the input elements and thus works as expected in IE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple jQuery dialog box that has an html input inside it.
In my ASP.NET page, I have an input box that has to have the
I have a jquery selector that looks like: alert($(#editform #action).val()); input box(id=action) is inside
I have two input elements inside a div (a textbox and an image), intended
I have an input box that takes values from 0-100. I want to prevent
at the moment i have this <div id=beau> <div> <input type=text id=lun name=lun size=24
I have a drop down select box inside a div. When the user clicks
Quick question... I have an input box that upon key enter, adds the value
I have an email sign up and search box that have the label inside
I have a javascript code (i) that write several <div><a href=...></a></div> inside the <div

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.