Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Javascript HTML jQuery
Hi, I am working on jquery mobile application and I have two table called products and category in database.I have a JavaScript function that retrieve all my categories for my database. However i want that whenever a category is clicked all the product in that particular category is displayed using JavaScript. Can anyone tell me how to do that?
Posted 19-Feb-13 8:03am
Comments
ryanb31 at 19-Feb-13 16:14pm
   
Do you have anything yet? Where exactly are you stuck?
Member 9586624 at 20-Feb-13 5:53am
   
Thanks for your reply! I can retrieve the category of any particular product. However for each time I open the category, it duplicates the list of the product displayed on the product list page. Thank you
ryanb31 at 20-Feb-13 8:40am
   
Can you use the improve question link and add the relevant code?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Gihan Liyanage 332
1 Sergey Alexandrovich Kryukov 330
2 ClimerChinna 222
3 OriginalGriff 206
4 Richard MacCutchan 170
0 Sergey Alexandrovich Kryukov 8,298
1 OriginalGriff 7,112
2 CPallini 2,598
3 Richard MacCutchan 2,005
4 Abhinav S 1,788


Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 19 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100