Bug 22781 - AJAX/Javascript code doesn't cycle through images
Summary: AJAX/Javascript code doesn't cycle through images
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://myhouseweb.net/fsbo/listingDis...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2008-12-10 09:52 PST by jasneet
Modified: 2023-03-05 04:15 PST (History)
2 users (show)

See Also:


Attachments
reduced testcase (99.46 KB, application/zip)
2008-12-10 09:52 PST, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2008-12-10 09:52:31 PST
I Steps:
Go to http://myhouseweb.net/fsbo/listingDisplay.php?listingid=3
Click on "Next >>" a few times

II Issue:
There are 3 pictures on this page. The AJAX/Javascript code should cycle
through all of them when "Next >>" is clicked multiple times.It's not cycling past the 2nd picture.

III Conclusion:
Needs an application server(can interpret jsp page) to run attached reduced testcase.

It uses the "id" property of <img> tag to cycle between the images, and the <img> is replaced by Ajax method when clicking the "Next" link. The problem is, Chrome always submits id="0" to the server, while IE/Firefox submits different ids("0","1","2") as the image changes. 

In other words, though the image id's value is changed by javascript each time by clicking "Next" link, Chrome always submits the original id's value "0" to the server.

IV Other Browsers:
IE7: ok
FF3: ok

V Nightly tested: 39088

Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=4653
Comment 1 jasneet 2008-12-10 09:52:48 PST
Created attachment 25918 [details]
reduced testcase