NEED HELP! "php with javascript"

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 824
Joined: Sun Jun 02, 2002 3:09 am

Wed Jan 29, 2003 1:09 am

Code: Select all

<SCRIPT LANGUAGE=javascript> 
<!--
function CompareToList(){

to_select = <?=$row[Question_Secrete_value ];?>;

for(i=0;i<document.form1.QuestionSecrete.length;i++){
strText = document.form1.QuestionSecrete[i].value;
if(to_select==strText){
document.form1.QuestionSecrete.options[i].selected = true;
break;
}
}
}
//-->
</SCRIPT>

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests