www.webdeveloper.com
Results 1 to 1 of 1

Thread: searchhing criteria on multiple checkboxes

Threaded View

  1. #1
    Join Date
    Jan 2013
    Posts
    3

    Unhappy searchhing criteria on multiple checkboxes

    Hi All,
    i am trying to add some check boxes under a webpage e.g. Cars, Trucks, Toyota, Honda, when the user clicks Car check box and click replot button then the page should be populated with Cars by all vendors, but when the user selects Car and Honda check boxes, and clicks re-plot button the page should be populated with cars made by Honda Only.
    coding for individual check boxes is done but for multiple selection criteria i have no idea, like Cars and Honda example, please guide.
    code for checkbox is as follow:

    else if (plotOptChbox[10].checked == true && markers[i].get('Managed_By') == 'Honda') {
    filterMarker[fmCnt] = markers[i];
    fmCnt++;

    the above is only for one checkbox, all others are like same with different values comparison.
    Last edited by vdevil786; 02-28-2013 at 02:21 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles