Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Question

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

Possible Duplicate:
passing array from php to javascript passing array from php to javascript

i need to pass 'PhP array' to 'javascript function' here is my code...

 $eqt_param=Array();
for($i=1; $i<3; $i++)
{
 <select name="'.$eqt_param[$i].'" onchange="send(this.name)">
 
}

i want to pass this to

 <script>
 function send(Eqt_Param)
 {
 }
 </script>

after passing the value to javascript function i need to have 3 variable holding the values of an array...please help me to fix this.....

Possible Duplicate:
passing array from php to javascript

i need to pass 'PhP array' to 'javascript function' here is my code...

 $eqt_param=Array();
for($i=1; $i<3; $i++)
{
 <select name="'.$eqt_param[$i].'" onchange="send(this.name)">
 
}

i want to pass this to

 <script>
 function send(Eqt_Param)
 {
 }
 </script>

after passing the value to javascript function i need to have 3 variable holding the values of an array...please help me to fix this.....

Possible Duplicate:
passing array from php to javascript

i need to pass 'PhP array' to 'javascript function' here is my code...

 $eqt_param=Array();
for($i=1; $i<3; $i++)
{
 <select name="'.$eqt_param[$i].'" onchange="send(this.name)">
 
}

i want to pass this to

 <script>
 function send(Eqt_Param)
 {
 }
 </script>

after passing the value to javascript function i need to have 3 variable holding the values of an array...please help me to fix this.....

insert duplicate link
Source Link

Possible Duplicate:
passing array from php to javascript

i need to pass 'PhP array' to 'javascript function' here is my code...

 $eqt_param=Array();
for($i=1; $i<3; $i++)
{
 <select name="'.$eqt_param[$i].'" onchange="send(this.name)">
 
}

i want to pass this to

 <script>
 function send(Eqt_Param)
 {
 }
 </script>

after passing the value to javascript function i need to have 3 variable holding the values of an array...please help me to fix this.....

i need to pass 'PhP array' to 'javascript function' here is my code...

 $eqt_param=Array();
for($i=1; $i<3; $i++)
{
 <select name="'.$eqt_param[$i].'" onchange="send(this.name)">
 
}

i want to pass this to

 <script>
 function send(Eqt_Param)
 {
 }
 </script>

after passing the value to javascript function i need to have 3 variable holding the values of an array...please help me to fix this.....

Possible Duplicate:
passing array from php to javascript

i need to pass 'PhP array' to 'javascript function' here is my code...

 $eqt_param=Array();
for($i=1; $i<3; $i++)
{
 <select name="'.$eqt_param[$i].'" onchange="send(this.name)">
 
}

i want to pass this to

 <script>
 function send(Eqt_Param)
 {
 }
 </script>

after passing the value to javascript function i need to have 3 variable holding the values of an array...please help me to fix this.....

Post Closed as "exact duplicate" by deceze , N.B., gpojd, Somnath Muluk, Linger
Source Link
Friend
  • 1.3k
  • 11
  • 39
  • 62

Passing php array to javascript function

i need to pass 'PhP array' to 'javascript function' here is my code...

 $eqt_param=Array();
for($i=1; $i<3; $i++)
{
 <select name="'.$eqt_param[$i].'" onchange="send(this.name)">
 
}

i want to pass this to

 <script>
 function send(Eqt_Param)
 {
 }
 </script>

after passing the value to javascript function i need to have 3 variable holding the values of an array...please help me to fix this.....

default

AltStyle によって変換されたページ (->オリジナル) /