UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
December
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#18041 - 04/02/03 01:58 AM Anyone good with javascript?
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
I want to creat a dynamic form. What I want to do is create a page with a single drop down menu. Depending on what you select I want changes to occur in page. That is to say I want more form elements to apear after you make your selection. I have toyed with some code from UBB and got the following.

http://www.wethe.com/real_time.php

anyone know how to creat new form elements?
_________________________
My New site OpenEyes

Top
Sponsored Links
      
#18042 - 04/02/03 02:53 AM Re: Anyone good with javascript?
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
I think I found a NICE site to answer my question,

http://developer.apple.com
_________________________
My New site OpenEyes

Top
#18043 - 04/02/03 02:54 AM Re: Anyone good with javascript?
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
_________________________
My New site OpenEyes

Top
#18044 - 04/03/03 11:29 AM Re: Anyone good with javascript?
ninjaneo Offline
UGN Security Staff

Registered: 03/06/02
Posts: 256
Loc: CA, USA
umm are you meaning PHP?

Top
#18045 - 04/03/03 02:19 PM Re: Anyone good with javascript?
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7193
Loc: Portland, OR; USA
it'd be javascript, I've seen a few good ones, http://www.radioshack.ca has one lol... If you find out gimme a holler, i'd love to poke around with it!
_________________________
Donate to UGN Security here.
UGN Security, Back of the Web, Elite Web Gamers & VNC Web Design Owner

Top
#18046 - 04/05/03 02:58 AM Re: Anyone good with javascript?
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
http://developer.apple.com/internet/javascript/

This site has a good tut if you only need to mak a few dynamic changes. I found the form I had to build took far too long to load. Basicaly you build X# of forms all in one page and use CSS the
tag and JavaScript to show and hide the forms or elements.

The script is fairly complicated as far as javascript goes but it is possible.

I found an alomost I deticle solution on http://www.webmonkey.com in the builder section. Thau's Javascript Tutorial, section 5.
_________________________
My New site OpenEyes

Top
#18047 - 04/06/03 02:52 PM Re: Anyone good with javascript?
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
i think you could use vbScript and it wouldn't be as difficult....

Code:
<html>
<head>
<script language=vbScript>
Sub cmdButton_OnClick
Form1.txtBox.style.visibility = "hidden"
End Sub
</script>
</head>
<body>
<form name=Form1>
<input type=text name=txtBox value="">

<input type=button name=cmdButton value="click me">
</form>
</body>
</html>  
and Form1.txtBox.style.visibility = "visible" would make it visible again.
_________________________
"It's better to burn out, than to fade away."

Top
#18048 - 04/10/03 04:17 AM Re: Anyone good with javascript?
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
I tryed you script here

http://promodtecnologies.com/~rrfn/Scripts/htmltest.html

It didn't work..
_________________________
My New site OpenEyes

Top
#18049 - 04/10/03 04:57 PM Re: Anyone good with javascript?
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
http://www.currantech.com/vbscript.html

it does work, if you copied it into your thing you likely caused the cmdButton_OnClick to run together with Form1.txtBox.style, it must be on different lines. view the source of my example and see.
_________________________
"It's better to burn out, than to fade away."

Top
#18050 - 04/11/03 02:37 AM Re: Anyone good with javascript?
§intå× Offline


*****

Registered: 12/03/02
Posts: 3255
Loc: Maryland
I see, /me retract statement. Know any liks to VB tuts? and dose it only work in IE?
_________________________
My New site OpenEyes

Top
#18051 - 04/11/03 03:24 PM Re: Anyone good with javascript?
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
it didn't work for me in opera or netscape.

there is a vbscript tutorial at:
http://www.intranetjournal.com/corner/wrox/progref/vbt/

use google for more.
_________________________
"It's better to burn out, than to fade away."

Top

Moderator:  §intå×, Gremelin 
Featured Member
Registered: 02/28/02
Posts: 7193
Forum Stats
2152 Members
46 Forums
36108 Topics
71278 Posts

Max Online: 1567 @ 04/25/10 05:20 AM
Top Posters
UGN Security 29269
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
cdefgh368568, HushHush, golqm, Tim050, Gecko666
2151 Registered Users
Who's Online
0 registered (), 351 Guests and 321 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!