Jump to content

Recommended Posts

Hello,
this is my first post in the JavaScript Forum, hope someone can help me.
I have written a webmail client that integrates with the popular Mambo/Joomla CMS.
On the INBOX view there are checkboxes for each listed email to enable users to do certain operations that can be choosen with a select box.

That select box is disbled by default and only if one or more checkboxes are ticket will it become active.
That works fine in Firefox, but in IE ::) it behaves very funny, to enable the select box
you have to tick at least two of the checkboxes, one is not enough. However, if one IS ticked and you klick into the select box it becomes active ???

To see that happening live goto [url=http://dev.jennyandandi.net]http://dev.jennyandandi.net [/url] and use the DEMO LOGIN button, you will be taken to the inbox view where you see the checkboxes and the disabled "I want to" select box.

The little bit of javascript on each tickbox is :
onchange="enable(action_choice);"
a sample checkbox looks like this:
[code]<input type="checkbox" name="delete_msg[194]" onchange="enable(action_choice);" />[/code]
and the select tag looks like this:
[code]<select class='inputbox' name="action_choice" OnChange="submit('action_choice')" disabled style="background-color:white">[/code]

All help is very, much appreciated.
Thansk & Regards,
Andi





Link to comment
https://forums.phpfreaks.com/topic/23058-checkboxes-behaving-badly/
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.