Click here to Skip to main content
15,887,683 members
Home / Discussions / Web Development
   

Web Development

 
AnswerCreate a datatable Pin
David Mujica25-Jun-09 2:46
David Mujica25-Jun-09 2:46 
GeneralRe: Create a datatable Pin
tiran_kaskas25-Jun-09 9:47
tiran_kaskas25-Jun-09 9:47 
GeneralRe: Create a datatable Pin
DJ Matthews25-Jun-09 10:28
DJ Matthews25-Jun-09 10:28 
GeneralRe: Create a datatable Pin
tiran_kaskas25-Jun-09 10:35
tiran_kaskas25-Jun-09 10:35 
GeneralRe: Create a datatable Pin
DJ Matthews25-Jun-09 10:37
DJ Matthews25-Jun-09 10:37 
GeneralRe: Create a datatable Pin
tiran_kaskas29-Jun-09 4:56
tiran_kaskas29-Jun-09 4:56 
QuestionVista gadget Popup Pin
V.24-Jun-09 22:05
professionalV.24-Jun-09 22:05 
QuestionDrop down list value reeturned on submit button being clicked? Pin
cdietschrun24-Jun-09 10:03
cdietschrun24-Jun-09 10:03 
I have a drop down selection box with items in it. I need to be able to pass the selected item through using an onclick event for the "Submit" button. Is this possible?

I have a JavaScript that is calling a div to popup. This div is the drop down selector. I want the user to click a button to make the drop down appear, then they must select an item in the list and then hit submit. The submit button being clicked I need to bring in the selected value from the drop down and use it in the script that originally told the div to pop up (this is the first button that the user clicks, it actually runs the script which passes 2 variables, and is basically waiting on the drop down selection to save into a 3rd variable, which will then call a PageMethod).

I have
function AddTemplateToUUT(uutnumber,testerid){

    var templatename=SelectTemplateToAssign();
    PageMethods.AddTemplateToUUT(testerid,uutnumber,templatename,CallbackDiv,CallbackErrorAlert,'divchecklistarea');
//    ShowSelection('divtemplateblock','hide');
}

function SelectTemplateToAssign(){

    ShowSelection('divtemplateblock','show');
    var tname=document.getElementById('drptemplateselect').value;
    alert(tname);
    ShowSelection('divtemplateblock','hide');
    return (tname);
    //PageMethods.AddTemplateToUUT(uutnumber,testerid
}


Anyone please help?
AnswerRe: Drop down list value reeturned on submit button being clicked? Pin
Marc Firth25-Jun-09 1:57
Marc Firth25-Jun-09 1:57 
GeneralRe: Drop down list value reeturned on submit button being clicked? Pin
cdietschrun25-Jun-09 2:25
cdietschrun25-Jun-09 2:25 
QuestionDLL based authentication on Classic ASP Pin
vafo24-Jun-09 6:38
vafo24-Jun-09 6:38 
QuestionForce Download in IE8 ?? Pin
rodolfofmoreira24-Jun-09 4:03
rodolfofmoreira24-Jun-09 4:03 
QuestionRe: Force Download in IE8 ?? Pin
led mike24-Jun-09 4:33
led mike24-Jun-09 4:33 
AnswerRe: Force Download in IE8 ?? Pin
SonnyN22-Jul-09 14:06
SonnyN22-Jul-09 14:06 
Question[PHP + apache] apache_note() vs. apache_setenv() & apache_getenv() to transfer environmental variables from PHP into Apache? Pin
bbranded24-Jun-09 3:23
bbranded24-Jun-09 3:23 
AnswerCSS Hover Menus...without a defined width! [modified] Pin
Arroci23-Jun-09 14:57
Arroci23-Jun-09 14:57 
Questionhow to save image from webBrowser Control Pin
voo doo1223-Jun-09 12:34
voo doo1223-Jun-09 12:34 
QuestionJavaScript function not defined problem [modified] Pin
cdietschrun23-Jun-09 9:50
cdietschrun23-Jun-09 9:50 
AnswerRe: JavaScript function not defined problem Pin
cmschick24-Jun-09 9:52
cmschick24-Jun-09 9:52 
QuestionPrinting a web page Pin
papy-boom23-Jun-09 8:17
papy-boom23-Jun-09 8:17 
AnswerRe: Printing a web page Pin
Adam Maras23-Jun-09 8:33
Adam Maras23-Jun-09 8:33 
AnswerRe: Printing a web page Pin
Marc Firth25-Jun-09 2:01
Marc Firth25-Jun-09 2:01 
QuestionEditing XML File Published by IIS Pin
Wael_Soltan22-Jun-09 22:59
Wael_Soltan22-Jun-09 22:59 
QuestionHelp on WEB data Pin
Paolo Turrini22-Jun-09 5:54
Paolo Turrini22-Jun-09 5:54 
AnswerRe: Help on WEB data Pin
DoctorMick22-Jun-09 6:21
DoctorMick22-Jun-09 6:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.