1
   

JavaScript Help!!

 
 
jhill
 
Reply Tue 19 Apr, 2005 12:42 pm
i need a Java Script that will generate a 6-8 alphnumeric number and copy it to a specific feild in an already made form. the way that this is gonna be used is when a person comes to the site they will open the form via a button and once on the form, there is another button that will open a new smaller window with a button that will generate a reference number (the 6-8 alphanumeric number) and place it it the Reference Number Field of the workorder

to see exactly what i am trying to do goto:My Site

please forgive the popups and ads this is only a test site and once completed will be moved to a dedicated server.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 397 • Replies: 1
No top replies

 
cmpboy
 
  1  
Reply Tue 17 May, 2005 12:57 am
Hello Folks,

I have a question about JS. I am trying to achieve the following.

I have a <select> list with 4 options, A B C and D. Lets call it List1. I have a second, List2, whose values depend on List1.

Now whenever user chooses A, B or C from List1, the options in the List2 changes. I got this part working.
But i have a edit option. where I want by default selection of the options in both the lists which is going to be selected from database value.

I have called a JS function from list 1 to dynamically change values in the list 2.

& for default section I took the values directly from database & compared.
but the problem is when i want dynamic change in list2 . bydefault selection doesnt work.
Now i am not understanding what to do for making both working...


Thanks a million to whoever helps me out

computer boy
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » JavaScript Help!!
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 01/18/2025 at 08:24:24