Sounds like the page may be cached... have you tried clearing the
browser's cache to see if that fixes the problem. If it does, then
try insering some headers in your a.html page that tell the browser
not to cache it. In php you would uses something like this... there
may be similiar meta tags to do this, but I'm not sure:
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
Regards,
-- Greg
--- In ydn-javascript%40yahoogroups.com">ydn-javascript
yahoogroups.com, "ankitkhera" <kheraankit
...>
wrote:
>
> Hi
> I am making use of YUI ---> to make ajax call to my server side
script(php) it works fine
> but the events on the html(combo boxes etc) returned by server
script do not work below is
> the details description please help...
>
> A.html makes a ajax call to B.php?userid=123 passing userid as
querystring. Now B.php
> makes use of this userid and gets data from a dataSource like
mysql and then generates a
> html form .... with combo buttons , textboxes etc and sets them
with values got from data
> source. This response (html as string)is received by A.html page
by var response=
> o.responseText and then this value is displayed in A.html using
> document.getElementById("resp").innerHTML = response, "resp" is a
<div id="resp"> where
> the server response is to be displayed; Now here begins the
problem if i change any value in
> the combo boxes which were generated by B.php(Server script) in
A.html(response data) the
> change is not reflected in dataSource.....because these boxes were
generated in B.php and
> the onchange event is also there ? How do i solve this problem
>
> Thanks in Advance
> Ankit.
>
.