Question, I have a `$each(array, function());` and within that statement, i have a` for` loop , Is it safe to be doing this? and could this be the reason that i am getting the same values multiple times returned even though the object array length is 8, i am getting basically doubled up results, sometimes its more. if you need to see my code, i can post it.

Member Avatar
Member Avatar
+0 forum 6

I have a checkbox input switch set up over the Input text box that acts as an on/off switch for that particular field. I am also using jQuery Validator (jqueryvalidation.org) to handle the errors for empty fields. The issue is that when the error hops in, my switch is pushed down from its position when my field is submitted empty. Here is a working example of my code: http://tzr.ro/template/admin/x.php Can someone give me a tip on how to fix the switch position to stay in place via CSS!? Thanks!

Member Avatar
Member Avatar
+0 forum 1

Hello i want to put a shorten text-*SeeMORE* function inside another function $(function() { var showTotalChar = 200, showChar = "Show (+)", hideChar = "Hide (-)"; $('.show').each(function() { var content = $(this).text(); if (content.length > showTotalChar) { var con = content.substr(0, showTotalChar); var hcon = content.substr(showTotalChar, content.length - showTotalChar); var txt= con + '<span class="dots">...</span><span class="morectnt"><span>' + hcon + '</span>&nbsp;&nbsp;<a href="" class="showmoretxt">' + showChar + '</a></span>'; $(this).html(txt); } }); $(".showmoretxt").click(function() { if ($(this).hasClass("sample")) { $(this).removeClass("sample"); $(this).text(showChar); } else { $(this).addClass("sample"); $(this).text(hideChar); } $(this).parent().prev().toggle(); $(this).prev().toggle(); return false; }); }); when i put it after the line that returns multiple values `$.each(data, …

Member Avatar
Member Avatar
+0 forum 4

I am at learning stage in web designing. I want to make web template for themeforeset.net after completion of my learning. Can I use jqury image slider in my templates that i will design for selling in themforest.net.If yes please send me related links..... shuvo

Member Avatar
Member Avatar
+0 forum 1

Hello, I'm having trouble with a webpage that has multiple CSS. The issue is the jQuery on the page, which doesn't work. The page I'm trying to get to work; [url]http://www.sahara-online.co.uk/demo/News.htm[/url] So does anybody know what to do? - some help would be much appreciated. Thanks Matt.

Member Avatar
Member Avatar
+0 forum 5

I had many photos, each photo size is 200 * 150px,each line has four photos,there have 4 lines. When I click one of them, the photo will fadeout with some introduce text, the original array photos will move to the both side of the page.(there should be have a animate action) When I close the fadeout photo, the original photos will move back to their first position. Is there anyone have this effection demo? Thanks

Member Avatar
Member Avatar
+0 forum 1

The End.