Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

javascript - I can't get the syntax right


Salvo

Recommended Posts

Hi all

I am try to call enter two fantions into a javascript but it doesn't work. Can someone help?

 

 

<script type="text/JavaScript" language="javascript">call('$test1','$test2');</SCRIPT>

 

 

if I try with echo test1, it gives me the value that means it works, but in the above example, it doesn't work.

 

Can someone tell me where do I go wrong?

Thanks

Link to comment
Share on other sites

Hi all

I am try to call enter two fantions into a javascript but it doesn't work. Can someone help?

<script type="text/JavaScript" language="javascript">call('$test1','$test2');</SCRIPT>

 

if I try with echo test1, it gives me the value that means it works, but in the above example, it doesn't work.

 

Can someone tell me where do I go wrong?

Thanks

 

 

Hi all again.

 

is out there someone that can help in creating a function that retrieve the two codes from a table and having them into the javascript?

 

Thanks

Link to comment
Share on other sites

Hi all again.

 

is out there someone that can help in creating a function that retrieve the two codes from a table and having them into the javascript?

 

Thanks

 

 

It couldn't be easier.. I solved it....

 

Thanks

 

Salvo

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...