last day (14 days later) » 

12:29 PM
0
A: jquery checkbox if check/uncheck do this

Arun P JohnyYou can do something like var $clearAll = $('.refinements > .clear-filter'), $checks = $('.options input[type="checkbox"]'); $checks.change(function () { var $options = $(this).closest('.options'), $clear = $options.prev(); if (this.checked) { $clear.show(); $...

 
thanks, that's really nice! but I think the checkbox doesn't seems to work, it doesn't get checked
 
@user3699998 that is a style issue - jsfiddle.net/arunpjohny/cd6x5hfc/4
 
ok, I fixed the style issue, but by clicking clear, it should clear the checked ones right? and also clear all
 
@user3699998 any panel has any facets selected?
 
reading my question, I need to uncheck by clicking clear, or uncheck all by clicking Clear all. would u be able to help please?
 
hey buddy
you there?
thank you so much for your help!
 
you are welcome
:)
 
if I put another question, would you be able to help me with that too please?
you're so quick and your code is really good
 
let me see.... post a link to that question... then I will have a look
but no guarantees....
 
ok
sure
 
12:43 PM
let me know once you post a question
 
0
Q: jquery how to serialise pattern

user3699998 users often bookmark a search page after they have selected some facets to refine their search query. The refinements panel needs to be able to serialise the selected facets for inclusion in the URL each time a facet is selected or unselected. When a user lands on the search results page and th...

here is the post
same fiddle, same thing
have you seen the question?
does it makes senn?
sense?
 
hey
would you be able to explain it:-)
 
not now.... in office...
 
ohhh sorry mate
 
may be later in the day....
 
an explanation is quicker that coding it no? :-)
what happen of I click serialize?
 
1:07 PM
look at the console... you should see the output
 
thanks for your amazing help!
 
writing code is easier than writing explanation... that requires so much work!!!
 
hahah yes, but is nice sometimes to know why has been done in that way
really appreciated
do you think I the right way ?
 
sorry,... what do you mean
I see that you have got another answer....
 
I give the answer to you !
I mean that sometimes knowing why you did so, its a good way to learn!
that's why I was asking
 

last day (14 days later) »