AJAX的问题 [英] Problem with AJAX

查看:70
本文介绍了AJAX的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai All,


我在ajax.im中遇到一个问题,当我第一次选择3个下拉值时,在3个下拉列表中应用ajax,第二次是将请求作为相同值的回发而不是其他值的后备。如果我想为第二次或第三次选择相同的值我必须做什么..?PLZ任何人帮助我.........



谢谢,

Aswath。

解决方案


Hai All,


我在ajax.im中遇到一个问题,当我第一次选择3个下拉值时,在3个下拉列表中应用ajax,第二次它将请求作为回发用于相同的值而不用于其他值。如果我想为第二次或第三次选择相同的值,我必须做什么..?PLZ任何人帮助我.........



谢谢,

Aswath。



解决问题的最明显原因是,如果您在每次回发期间填写page_load中的下拉列表。这将删除在上一篇文章中所做的列表上的任何选择。


在我开始提出其他原因之前检查这个。


-Frinny


Hai,


感谢重播,

对于每个请求它都会删除选择列表。所以即时通讯在会话中和使用im清算会话后存储值。如果我选​​择相同的值,我在第一次选择相同的值,它作为回发请求,我没有得到任何会话值。这是我的问题...


谢谢,

Aswath。


Hai all,


我问题的任何答案....?


谢谢,

Aswath。


Hai All,

I got one problem in ajax.im applying ajax for 3 dropdown lists when im selecting 3 dropdown values in first time it is working, in 2nd time it is taking the request as postback for same values and notpostback for other values.If i want to select same values for 2nd or 3rd time what i have to do..?plz any one help me.........


Thanks,
Aswath.

解决方案

Hai All,

I got one problem in ajax.im applying ajax for 3 dropdown lists when im selecting 3 dropdown values in first time it is working, in 2nd time it is taking the request as postback for same values and notpostback for other values.If i want to select same values for 2nd or 3rd time what i have to do..?plz any one help me.........


Thanks,
Aswath.

The most obvious cause to the problem is if you are filling the drop down lists in page_load during every post back. This will remove any selection on the lists that were made during the last post back.

Check this before I start suggesting other reasons.

-Frinny


Hai ,

Thanks for replay,
For every request it is removing selection list.so im storing values in sessions and after using im clearing sessions.so in 2nd time if i select same value what i select in 1st time it is taking as postback request and i didn''t get any session value .this is my problem...

Thanks,
Aswath.


Hai all,

Any answer to my problem....?

Thanks,
Aswath.


这篇关于AJAX的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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