File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Help with JavaScript Drop Down Box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Help with JavaScript Drop Down Box" Watch "Help with JavaScript Drop Down Box" New topic

Help with JavaScript Drop Down Box

Diane McKeaveney

Joined: Nov 21, 2003
Posts: 8

I have a drop down box in a table and when the user adds a new row i want to make this row read only and make the new row editable. i have this working fine usin readonly but this is not working for the html-select field i have.

I have tried making this select box disabled instead of read only but then my data is not saved in the submit of the form. I am also unable to call a fucntion to enable this in the submit of the form as this is in a tile and would break my other tiles on the page. Is there anyway to stop a user from changing the selected value in the box without disabling it?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

This post has been moved to a more appropriate forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Help with JavaScript Drop Down Box
It's not a secret anymore!