Answered
Simple GET form (input text variable problem)
I'm trying to move some info from flash to another page, it
should be really simple.
All i have is an input text field and a button, the input text has the instance name search_txt
I have this code on the button
on (click) {;
searchText=search_txt
searchON = "OK"
getURL("search.php", "_self", "GET");
}
the searchON is just a variable i need for the php - and that works fine
but for searchText i get searchText=undefined
so i'm guessing i need to do something like define it as a variable, where and how should i do this?
what i want as an outcome is search.php? searchText=whatever was in the input text field&theRestOfTheStuff
thanks for any help
All i have is an input text field and a button, the input text has the instance name search_txt
I have this code on the button
on (click) {;
searchText=search_txt
searchON = "OK"
getURL("search.php", "_self", "GET");
}
the searchON is just a variable i need for the php - and that works fine
but for searchText i get searchText=undefined
so i'm guessing i need to do something like define it as a variable, where and how should i do this?
what i want as an outcome is search.php? searchText=whatever was in the input text field&theRestOfTheStuff
thanks for any help