Closed

Ajax doesn't work on multiple divs debug - repost

I am hiring a programmer to help me to debug [url removed, login to view], i want to put a "add to wish list button" to a series of div, class = "imgforplaces_thumbnail" (see my php function), the while loop in php function will then generate a number of div "imgforplaces_thumbnail", i.e. 12. I have tried to var_dump($row['id']); for each different item in the while loop, they have shown i.e. 1,2,3,4,5,6 [url removed, login to view] the add to wish list button, class ="addbutton","deletebutton", when i click on it, will do an ajax call, either Addtobucketlist() or Deletefrombucketlist() (see header). depending on the status of checkifadded(), it will show or hide class "addbutton" or "deletebutton". Now my problem is that when i execute the codes, when i click on the first check button, it simply runs the last check button function!i.e. $row['id']=6.

One thing worth to note is that if i am not using multiple divs, it works like magic! but not when there are more than one div "imgforplaces_thumbnail"

Skills: AJAX, HTML, jQuery / Prototype, PHP

See more: magic codes php, hiring c++ programmer, i want a programmer to help me, hiring php programmer, divs, c programmer hiring, php ajax repost, ajax hide show, ajax call, php ajax function, ajax call php, php ajax call php function, show hide multiple divs, php function ajax, ajax button click, hide div using ajax, div hide, button class, php function hide, show hide multiple div, multiple button php, hide show function, ajax call function php, php button multiple, ajax multiple show hide

About the Employer:
( 0 reviews ) Singapore, Singapore

Project ID: #4723106

15 freelancers are bidding on average $31 for this job

toinnisfree

quick pro help. ftp and milestone required.

$50 USD in 1 day
(553 Reviews)
7.9
janudvs

Hello, May I help you?

$34 USD in 1 day
(20 Reviews)
5.4
novesion

Hi! It's simple job for me. I can ready to start. Thanks

$30 USD in 3 days
(22 Reviews)
4.8
tunnhn

Hello, I can help you to fix this, please let me access your site or send me your full code if you are interested Thank

$25 USD in 1 day
(17 Reviews)
4.4
mayanksm7

Ready to start:)

$30 USD in 1 day
(20 Reviews)
3.9
farhaty

Thanks for giving your precious time to review my bid and check PM! Thank you

$23 USD in 3 days
(6 Reviews)
3.7
seomaster212

Hi sir i am ready for work kindly check pm.

$54 USD in 3 days
(12 Reviews)
3.5
sonviet

I'm ready to work.

$25 USD in 0 days
(7 Reviews)
3.3
Fitzgeraldz

Freelancer Professional, I have 8 years experience in programming with c, c++, C#, Java, J2SE, J2ME, J2EE, Matlab, ASM, python, AutoLISP, Java Script, aspx, php, html5, css3, ajax, jquery, MVC , NET, WCF, Win32, MFC, S More

$43 USD in 1 day
(4 Reviews)
2.8
whitesmokevw

I can do this quickly and efficiently. Please check PM.

$25 USD in 3 days
(8 Reviews)
2.7
Rajkumar9788

I can do this project.

$35 USD in 1 day
(6 Reviews)
2.2
vitava2

Dear customer! It's simple job for me. I am ready to start. Thanks.

$18 USD in 1 day
(3 Reviews)
0.0
itrelease

Hello sir, i am expert in jquery, ajax, html and php. I will solve your problem. Willing to have good relation with you. Thanks.

$15 USD in 3 days
(0 Reviews)
0.0
ivanvorontsov

Hi. I'm working with js almost every day for a year or nearby. Also I have debugging skillz with js. Please consider.

$35 USD in 3 days
(0 Reviews)
0.0
huuquy1989

i can do it quickly. I think it easy.

$25 USD in 3 days
(0 Reviews)
0.0
karanthappar21

I have extensively used jquery and ajax on almost my every [url removed, login to view] check you pm for details..

$20 USD in 1 day
(0 Reviews)
0.0