如何在javascript函数中传递两个字符串变量 [英] How to pass two string variable in javascript function

查看:78
本文介绍了如何在javascript函数中传递两个字符串变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的专家,



i需要通过javascript函数传递两个字符串变量...



但在我的例子中,它不起作用....



请参阅中的示例2 jsfiddle。



请帮助我..



谢谢



Dileep

Dear Experts,

i need to pass two string variables through javascript function...

But in my example it is not working....

Please see the Example2 in jsfiddle.

Please Help me..

Thanks

Dileep

推荐答案

试试这个。现在工作正常

http://jsfiddle.net/Kmv28/44/ [ ^ ]





希望这有帮助
try this. It's working fine now
http://jsfiddle.net/Kmv28/44/[^]


Hope this helps


亲爱的所有人....



我得到了答案.. 。



Plz见 jsFiddle



Thankzzzz
Dear All....

I got the Answer...

Plz see the jsFiddle

Thankzzzz


这篇关于如何在javascript函数中传递两个字符串变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆