Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author TC.K

    (@wp_dummy)

    Did you set the div for display the result?

    Thread Starter Sabrina Zeidan

    (@sabrinazeidan)

    yes, and it contains the results, when the button is used. But when i hide btn, nothing happens, whatever option i choose – ajax with div or search form. wp version 3.8

    Plugin Author TC.K

    (@wp_dummy)

    Do you have a live url of your search form? For me to diagnose the problem.

    Thread Starter Sabrina Zeidan

    (@sabrinazeidan)

    https://blog.drive2b.kiev.ua/ my bad! left sidebar

    [Moderator Note: Please ensure that you are embedding links correctly in your posts.]

    Plugin Author TC.K

    (@wp_dummy)

    I think you did not set the search template correctly,
    From what I saw in your site, the form is made for Default Search Template.
    it should be “Ajax – Result displayed on same page “.

    Thread Starter Sabrina Zeidan

    (@sabrinazeidan)

    unfortunatelly, i cant get it work, no matter what option i choose – ajax or search page with button hidden. But when the button shown everything goes well. Check it – i just showed button.

    Plugin Author TC.K

    (@wp_dummy)

    Try Ajax with hidden button. I need to know if the js for control this behavior is loaded.

    Thread Starter Sabrina Zeidan

    (@sabrinazeidan)

    done!

    Plugin Author TC.K

    (@wp_dummy)

    Errmm…it’s weird. Just like I thought, the js is not loaded.

    How do you defined the shortcode actually? It should be like [ULWPQSF id=273 button=0] .

    If you think you have everything correct, then you can try to put this script in your footer

    <script type="text/javascript">jQuery(document).ready(function($) { 
    
    	$("[id^=uwpqsffrom_]").change(function(){ process_data($(this)); })
          ;})</script>
    Thread Starter Sabrina Zeidan

    (@sabrinazeidan)

    That’s it!
    it was button=hide instead of button=0
    Thank you so much for help and great plugin!
    Now everything works as charm) Many thanks!

    Thread Starter Sabrina Zeidan

    (@sabrinazeidan)

    Dear author, one more question – is there any way to add class to <article> to customize the search result view?

    Plugin Author TC.K

    (@wp_dummy)

    Sure.
    You can use ‘uwpqsf_result_tempt’ to customize the result. Please refer to this post hook section for how to use the filter.

    Thread Starter Sabrina Zeidan

    (@sabrinazeidan)

    Thank you soo much!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Ajax checkboxes’ is closed to new replies.