1 Replies - 400 Views - Last Post: 28 August 2011 - 04:15 AM

#1 sidhu_sree  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 37
  • Joined: 08-October 09

jquery function not working

Posted 28 August 2011 - 03:57 AM

hello there
i have the below functions but some issues are there i have checked it but not working can any one help

var form =  jQuery('#filters');
form.find('#list-filter-type input').live('change', function(event){
	form_new = jQuery(event.currentTarget).closest('form');
	event.preventDefault();
    executeFilters(form_new);
  });

form.find('#list-filter-color input').live('change', function(event){
	  alert('colour');
	form_new = jQuery(event.currentTarget).closest('form');	  
	event.preventDefault();
    executeFilters(form_new);
  });



the first function working fine but second function is not working properly
can any one help
thanks in advance

MOD EDIT: 37 posts, still can't use code tags. Pathetic. When you post code...USE CODE TAGS!!!

:code:

This post has been edited by JackOfAllTrades: 28 August 2011 - 04:14 AM


Is This A Good Question/Topic? 0
  • +

Replies To: jquery function not working

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6051
  • View blog
  • Posts: 23,483
  • Joined: 23-August 08

Re: jquery function not working

Posted 28 August 2011 - 04:15 AM

What is "not working"?

Use Firefox and Firebug (or some other Javascript debugger), set breakpoints in your script, and find out what's happening.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1