•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 423,566 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,641 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 465 | Replies: 0
![]() |
•
•
Join Date: Nov 2007
Location: Reseda, California
Posts: 17
Reputation:
Rep Power: 1
Solved Threads: 0
It seems I have a choice, my menu item can follow suckerfish and change background color on hover or the document.submit() function can work. Not both. Any ideas about this would be appreciated. I have this bit of code for a menu option:
or
<li><a href="#" onClick="document.getElementById('cf').submit()">Commit</a></li>
This allows the Commit to behave as (this bit of css):#topMenu ul li:hover a, #topMenu ul li.sfhover a {
padding-bottom: 1px;
background-color: #FF7F00;
color: #fff;
}<li><a onClick="document.getElementById('cf').submit()">Commit</a></li>
and the submit() works but the css is ignored. Both ways work fine on firefox and othe gnome browsers. The problem is strictly an IE thing. Scott Holmes
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: POSTING back variable from ajax page to another site using javascript
- Next Thread: Validating radio button selection for login redirect


Linear Mode