Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 03-28-2006, 05:58 AM   #1 (permalink)
j.gohel
Code Monkey
 
Join Date: Apr 2005
Posts: 68
j.gohel is on a distinguished road
Activating readonly HTML elements ??

Hi,

If i have some readonly elements in my webpage & on the basis of some condition ,using javascript, i want to activate them :

for example on selecting a value from dropdown list i want to activate the elements which were kept readonly when the page loaded..

So how can i do that??

Thanks,
Jignesh
j.gohel is offline   Reply With Quote
Old 04-02-2006, 11:09 PM   #2 (permalink)
l33t_1-1axx0r
Huzzah!
 
l33t_1-1axx0r's Avatar
 
Join Date: Feb 2006
Posts: 8
l33t_1-1axx0r is on a distinguished road
Send a message via AIM to l33t_1-1axx0r Send a message via MSN to l33t_1-1axx0r Send a message via Yahoo to l33t_1-1axx0r
Why javascript? This seems to be something easily solved with the use of an iframe or two.

Can you give an example of the kind of hidden info you're talking about?
l33t_1-1axx0r is offline   Reply With Quote
Old 04-03-2006, 08:41 AM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
He want's certain fields in the submit-form deactivated (or blanked out/hidden), when the user selects some specific items accordingly, the hidden field pops up, or appears, or is made accessible.
This can either be done with some CSS-stylesheeding, where you have a hidden layer you make visible, or by having some InnerHTML you are writing the needed info to.
I'm not sure if theres even a solution which will work on all W3C browsers...
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save only changed and new elements in the list dirs HTML, XML, Javascript, AJAX 2 12-27-2004 02:51 AM
Help with launching an exy within HTML. Nicotine HTML, XML, Javascript, AJAX 5 05-12-2004 04:00 PM
Stable Graphical FTP Client, HTML editor, & Image Manipulation for RedHat 7.3? Admin Linux / BSD / OS X 2 08-30-2002 05:55 PM


All times are GMT -8. The time now is 01:18 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting