Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: Check for input and post to PHP
code: function OnWindowIdEvent_CtrlClicked(PlusWnd, CtrlId) {
if(CtrlId == "BtnSubmit") { // Thats Point #2 to check whether its the submit button clicked. Replace BtnSubmit with whatever ID you've given to the submit button
var t1 = PlusWnd.GetControlText("text1"); //Point #3
var t2 = PlusWnd.GetControlText("text2");
var t3 = PlusWnd.GetControlText("text3");
//here goes the rest of the code....
} // <3 Volv
}
This post was edited on 06-10-2008 at 03:05 PM by Felu.
|
|