|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Inserting Multiple NAmes (Like Hotmail Address book)
Hi...
Does anybody know if its possible in dreamweaver ultradev4 to create a pop-up box where i can select multiple names which can then be added to another field on a sepearte page. This popup page needs to be dynamic as new users are added to the database daily. Basically its the way that hotmail handles the address book. The user clicks a button to view the address book, they select the people they want to send it to, then click ok & all of those names appear in the 'to' box. Thanks Pablino |
|
#2
|
||||
|
||||
|
I don't know if DW has "wizards" to help with part of it, but the necessary steps are relatively simple taken one at a time, if you do things patiently:
|
|
#3
|
||||
|
||||
|
u can use asp and javascript together
for example in form1 u call a pop up window <SCRIPT LANGUAGE="JavaScript"> <!-- function popUp() { window.open('CCList.asp','WinC','width=350,height=300,toolbar=no,menubar=no,scrollbars=no,resizable= no, addressbar=no'); window.refresh(); } </script> then in your pop up just add this script(you'll have to modify it) ![]() <script language="JavaScript" type="text/JavaScript"> function setParentValue(){ var allvalues=""; var obj=document.all.listboxname for(i=0;i<obj.options.length;i++) if(obj.options[i].selected) allvalues+=obj.options[i].value+"," allvalues = allvalues.slice(0,allvalues.length-2); allvalues = allvalues.replace(/\s/g, ""); window.opener.addform.myTextBox.value =allvalues window.close(); } </script> hope it helps |
|
#4
|
|||
|
|||
|
Quote:
window.opener.addform.myTextBox.value The line above does it refer to textbox in the mainpage or the popout window? |
|
#5
|
||||
|
||||
|
testbox in the mainpage
![]() |
|
#6
|
||||
|
||||
|
oops.. keke i meant the *textbox*
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Inserting Multiple NAmes (Like Hotmail Address book) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|