Quantcast
Channel: How do I call the same function with different div IDs? - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by sv_in for How do I call the same function with different div IDs?

$("#washing, #bleaching") seems right. Check if there was any errors thrown. This code block may have been skipped due to this.Assuming there was no error. Could you just try this:$(function() {...

View Article



Answer by scubacoder for How do I call the same function with different div IDs?

$('#washing,#bleaching,#div3').hide();Example:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html...

View Article

Answer by codeandcloud for How do I call the same function with different div...

Your multiple selector syntax is correct. But the problem is that #paginationdemo is a single element. How can you paginate two divs with a single pager. Make paginationdemo a CSSClass selector and...

View Article

Answer by Mohan Ram for How do I call the same function with different div IDs?

Provide a same class name for two div and use as $(function() { $("div.class_name").paginate({ count: 10, start: 1, display: 7, border: true, border_color: '#fff', onChange: function(page) {...

View Article

How do I call the same function with different div IDs?

I have two divs with different ids (#washing, #bleaching). How can I use a function for different IDs. I have tried adding both the IDs together $("#washing, #bleaching"), but the function is not...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images