Hide DIVs in jquery function instead of header redirect -


मेरे पास निम्न jQuery फ़ंक्शन है:

  $ ( "# सदस्य-सर्वीक")। क्लिक करें (फ़ंक्शन () {सेट कुकी ("सदस्यता", "1"); शीर्षलेख ("स्थान: http://www.google.co.uk/"); वापसी वापस;}) ;   

हैडर रीडायरेक्ट के बजाय हैडर ("स्थान: http://www.google.co.uk/");
मुझे पसंद है बजाय कुछ divs को छिपाने के लिए जैसे # div1, # div2, # div3 {display: none;}

क्या यह संभव है?

jquery में उपयोग

  $ ("# सदस्य- allready" ); $ ('# Div1')। छिपाने (); वापसी वापस;});    

Comments

Popular posts from this blog

c++ - 'std::string' has no member named 'get' list[i]=user.get; -

python - how we can use ajax() in views.py in django? -

java - Instances of classes -