Jump to content

Recommended Posts

I've got several SELECTs that list a bunch of companies. If the company you want to chose isn't listed, you chose 'Create New'. A javascript then creates a field immediately under in which you enter the new company's name and select it's area of industry (so a text input and a second select).

My problem: the first layer of selects work perfectly. However, as soon as you chose 'create new' all selects suddenly stop functioning. You can get the top level (the list of companies) to drop down, but anything you chose doesn't get selected. The inner select (the list of areas of industry) won't even drop down. I didn't write the original code, so I may be missing something, but I've combed through it as best I can, and for the life of my I can't figure out what the issue is. I thought it was a missing close tag or quotation marks somewhere, but it doesn't appear to be an issue. This was a problem with the code before I got it.

Interesting thing I've noticed: I haven't been testing it in IE yet, but when I change tabs in FF and then back, the top level SELECTs work until I click the second level select.
Link to comment
https://forums.phpfreaks.com/topic/18216-strange-select-issue/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.