开发者

JqueryUi slider range doesn't apear after async call

开发者 https://www.devze.com 2023-02-06 14:36 出处:网络
I have 2 pages, 开发者_如何学JAVAlet\'s say page1.php and page2.php In page2.php i have the JqueryUI slider range (ex.http://jqueryui.com/demos/slider/range.html)

I have 2 pages, 开发者_如何学JAVAlet's say page1.php and page2.php In page2.php i have the JqueryUI slider range (ex.http://jqueryui.com/demos/slider/range.html) If I open this page in browser it works fine, but if I try to call this page from page1.php with ajax async the slider does not shown.

I know I have to reinitialize the slider on client side... but how? I tried to eval the http response but... nothing:(

Any ideas?

Thanks in advance


How are you calling the slider on page 2? You might need to wrap the code that initializes the slider in a function that you can call when you do the AJAX load.

0

精彩评论

暂无评论...
验证码 换一张
取 消