Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bluemask11

    jQuery hide div class if total equal to 0

    Hi guys, I solved the problems, I used another plugin. Thank you for your cooperation. When it will be finished i`ll invite you to see it. Have a nice day. :);)
  2. bluemask11

    jQuery hide div class if total equal to 0

    so what can be done if that's the case. :)
  3. bluemask11

    jQuery hide div class if total equal to 0

    Hello, Sorry for not responding, i don't know how to check if the values are greater than 0. console.log('tot='+tot); it doesn't show anything in the inspection console.
  4. bluemask11

    jQuery hide div class if total equal to 0

    I run the site on localhost. If you want i can give you my TeamViewer ID. If you are ok with that.
  5. bluemask11

    jQuery hide div class if total equal to 0

    now it's hidden even when if the value is bigger than 0. when I reload the page it shows up for a brief second.
  6. bluemask11

    jQuery hide div class if total equal to 0

    @jpadie showcart is set to yes now.:) @1DMF the alert is firing, the ajax is requested i've added $(".floating-cart").hide(); and the cart it's hidden now. :)
  7. bluemask11

    jQuery hide div class if total equal to 0

    This is how Inspection board looks now.
  8. bluemask11

    jQuery hide div class if total equal to 0

    I've followed the address from the error and the files weren't there, so i've looked for them and they were in another folder, i've copied them where they were requested, the errors dissappeared, the attention signs are still there. Cart doesn't seem to dissappear. I can't figure it. [pc1]
  9. bluemask11

    jQuery hide div class if total equal to 0

    Hi @1DMF This are the errors that i get This are the errors that I get when I add an item @jpadie I've tried to use your code and also i've used text() instead of html() but nothing.
  10. bluemask11

    jQuery hide div class if total equal to 0

    I don't get anything...
  11. bluemask11

    jQuery hide div class if total equal to 0

    Sorry guys, Here is the code underlined where I added an if statement Cheers <!-- Load JS --> <script type="text/javascript"> jQuery(document).ready(function () { // floating cart jQuery(document).ajaxComplete(function(e, xhr, settings) { var tot = 0...
  12. bluemask11

    jQuery hide div class if total equal to 0

    Hi! I'm struggling for a few days to solve a problem. I have a floating cart plugin from MarketPress, it's a free plugin, I want to make it hide when it's empty but it doesn't work. I've added an if statement where the code is underlined but it doesn't work. Can you help me please? Cheers...

Part and Inventory Search

Back
Top