[jQuery] Re: textarea maxlength plugin not working for textareas loaded via ajax
Ok, through sheer genuis (just kidding), I figured it out... when the form is *successfully* loaded via ajax, simply call the function for the maxlength plugin again: $("textarea.limited").maxlength({ "feedback":".charsLeft" }); Konstantin On Nov 15, 9:36 pm, Konstantin K wrote: > Hey guys, > > I'm developing a commenting system for a site and am using the > maxlength plugin from Remy Sharp (http://remysharp.com/2008/06/30/ > maxlength-plugin/) to limit the comments to a specific length. > > It works great for textareas that are loaded with the page, but it > stops working for textareas that are loaded via ajax (for example when > replying to a comment, the reply form is loaded from the backend via > an ajax call) > > I have a feeling this has something to do with binding and this FAQ > (http://docs.jquery.com/ > Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request. > 3F), but I cannot figure it out. > > Any ideas? > > Thanks, > Konstantin
[jQuery] code not appending to when I think it should.
I am putting together a list of images with tags (from picasa). Each image should have html looking like this: the image source tagalbum.php?tag=atag a tag tagalbum.php?tag=anothertag another tag What I end up with is the divs and imgs, but no links. http://lh4.ggpht.com/./. Using firebug I can see that the link is built correctly: tagalbum.php?tag=400 Plain 400 Plain AND that it has got the right id to appendTo (#pic1) AND that the div with id=pic1 is there. This is the code (borrowed initially from elsewhere, but modified): $j.getJSON('http://picasaweb.google.com/data/feed/base/user/..' 'callback=?', function(data){ var picsCount = data.feed.entry.length - 1; for (var i = 1; picsCount ; i++) { var pic = data.feed.entry[i]; /*Create a div for this image */ $j("").attr("class","tagged").attr("id","pic"+i) .append($j(" ") .attr("src", pic.media$group.media$content[0].url) .attr("alt", pic.media$group.media$caption.$t) .attr("title",pic.media$group.media$caption.$t)) .appendTo("#pics"); /* If there are tags */ if (pic.media$group.media$keywords) { var tags = pic.media$group.media$keywords.$t.split(","); /* create a link for each tag and append it to the div created above. */ for (tag in tags) { $j(" ") .attr("title",tags[tag]) .attr("class","taglink") .attr("href","tagalbum.php?tag="+tags[tag]) .append(tags[tag]) .appendTo("#pics" + i); } } } I guess the obvious question is "what is wrong?" and I would like to know. Also if you think there's a better way to get all the tags and link them up to the image div do tell...I am feeling my way here and welcome instruction. thanks, Anita -- View this message in context: http://old.nabble.com/code-not-appending-to-when-I-think-it-should.-tp26366119s27240p26366119.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] textarea maxlength plugin not working for textareas loaded via ajax
Hey guys, I'm developing a commenting system for a site and am using the maxlength plugin from Remy Sharp (http://remysharp.com/2008/06/30/ maxlength-plugin/) to limit the comments to a specific length. It works great for textareas that are loaded with the page, but it stops working for textareas that are loaded via ajax (for example when replying to a comment, the reply form is loaded from the backend via an ajax call) I have a feeling this has something to do with binding and this FAQ (http://docs.jquery.com/ Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request. 3F), but I cannot figure it out. Any ideas? Thanks, Konstantin
[jQuery] update on interval
Im looking for a way to grab a url at a set interval say every 1 second and set a div tag with the results. I would like the interval in the time it checks to keep taking more time if the returned content is the same. I also want to be able to set a max interval that once hit would reset the interval to the beginning interval. something like: IntervalUpdate("foo_output", "url.php", { interval: 1, maxInterval: 30, }); So does anything like this exist?
[jQuery] usability of plugins page on website
Does anyone else find the plugins page on the jquery website extremely unusable? There are hundreds of plugins, so one needs to be able to scan through a lot of plugins quickly, but the design of this website severely hinders this: * the plugin descriptions are lengthy and of variable size, so you have to slowly scan your eyes down until you find the next heading, but * the headings don't stand out at all * the headings fall into random places on the page Ideal would be some kind of list or table layout that is easily scanned. It needs to contain the minimal information to decide to view a plugin further. Also if the navigation could have a configurable number of items per page (I prefer to have more information on fewer pages).
Re: [jQuery] Re: Any kind soul to help me figure out whats wrong?
container size doesn't limit/control it's contents size If you want images sized use .gallery-demo li img {// set attributes}. content can be far larger than it's container, this is how many effects are managed such as scrollers, image effects etc Brandon wrote: thank you all so much!! i should have asked much earlier instead of pulling out my hair!! now that i've gotten them in order...one last question, the portrait images are "taller" than the landscape ones. doesn't this control the size of the thumbnails? .gallery_demo li{background:#00 none repeat scroll 0 0;border:3px double #11;height:50px;margin:0 2px;width:68px;float:left;} thanks so much!! brandon On Nov 16, 4:41 am, Charlie wrote: not entirely sure what gallery is supposed to do but you can align the thumbs better changing this css:.gallery_demo li{ background:#00 none repeat scroll 0 0; border:3px double #11; height:50px; margin:0 2px; width:68px; } add: float: left and height: 100px? // adjust to suit It will at least align the thumbs. If they are all supposed to be on one level will take further css/html/js to fix Brandon wrote:Hi all, I have no training in jquery. Can anyone help me see what is wrong with my thumbnail gallery athttp://www.brandonclicks.com? It was ok and in two neat rows when I used it at blogspot but once I changed it to a custom domain, it is all messed up. I would appreciate any help I can get. Thank you!! Brandon
[jQuery] Re: Any kind soul to help me figure out whats wrong?
thank you all so much!! i should have asked much earlier instead of pulling out my hair!! now that i've gotten them in order...one last question, the portrait images are "taller" than the landscape ones. doesn't this control the size of the thumbnails? .gallery_demo li{background:#00 none repeat scroll 0 0;border:3px double #11;height:50px;margin:0 2px;width:68px;float:left;} thanks so much!! brandon On Nov 16, 4:41 am, Charlie wrote: > not entirely sure what gallery is supposed to do but you can align the thumbs > better changing this css:.gallery_demo li{ > > background:#00 none repeat scroll 0 0; > > border:3px double #11; > > height:50px; > > margin:0 2px; > > width:68px; > > } > add: > float: left > and > height: 100px? // adjust to suit > It will at least align the thumbs. If they are all supposed to be on one > level will take further css/html/js to fix > Brandon wrote:Hi all, I have no training in jquery. Can anyone help me see > what is wrong with my thumbnail gallery athttp://www.brandonclicks.com? It > was ok and in two neat rows when I used it at blogspot but once I changed it > to a custom domain, it is all messed up. I would appreciate any help I can > get. Thank you!! Brandon
[jQuery] Re: Count items inside/outside of visible area
This code should works as it retrieves the parent height during run- time $(document).ready(function() { var cnt1 = $("#test_list").parent().css("height"); var cnt2 = $("#test_list").children(":first").css ("height"); var re = /px/g; alert(parseFloat(cnt1.replace(re, "")) / parseFloat (cnt2.replace(re, ""))); //five $("#test_list").parent().css("height", "120px"); cnt1 = $("#test_list").parent().css("height"); alert(parseFloat(cnt1.replace(re, "")) / parseFloat (cnt2.replace(re, ""))); // six }); On Nov 15, 1:35 am, gravyfries wrote: > Any idea how to make this work? In the following example I need to > know how many items fall inside/outside of the visible area. This > can't be based on the height of the parent div because that will be > variable eventually: > > > > > > > $(document).ready(function(){ > var cnt = $('#test_list li:visible').size(); > alert(cnt); > }); > > > ul, li {padding: 0; margin: 0;} > li {height: 20px;} > > > > > > > Test > Test > Test > Test > Test > Test > Test > Test > Test > Test > Test > Test > > > > >
[jQuery] Re: jquery UI draggable does not work in Firefox extension
Hi, I solved the problem now without jQuery. It wasn't as hard as I had expected. If anybody else ever has the same problem, a (more or less) copy&paste solution is given here [German] http://aktuell.de.selfhtml.org/artikel/javascript/draganddrop/ @Karl Sorry, I did not specify directly, but the error, though trying to use UI draggable, comes from a jQuery function (jQuery::offset) and not from an UI function. Thats why I posted it here. Anyway, the approach I posted above is pretty straightforward... I guess nearly as simple and probably faster than jQuery could archive... thx jakkob
[jQuery] Re: Having problems getting Validation plugin to report only 1 error
Hi Sarah, Thanks for responding. I tried using a group:, but it didn't help. Thanks, Marty On Nov 14, 5:43 am, "Atkinson, Sarah" wrote: > Would this be a group: thing? > > Sent from my iPhone > > On Nov 13, 2009, at 7:31 PM, "marty" > wrote: > > > I'm having a problem using the Validation plugin. > > > The user must make a selection from any one of several dropdown menus. > > > I want there to be only validation warning, but I'm getting a warning > > for each dropdown. > > > I have prepared a test on my > > website:http://www.martinschechtman.com/validateTest.html > > . > > > Any help getting this to work properly would be greatly appreciated! > > > Thanks, > >Marty
[jQuery] Is mouse inside a div?
Hi, in first, these days I started to play with jquery and I`m impressed, excellent library! Well, I already done some cool things, but I can`t find how to check wheter the mouse pointer is inside a div. Any hints? Thank you!
[jQuery] jQuery License
If I want to use jQuery with a MIT lisence, where should I put the text of lisence? Can I just create a file "mit-license.txt" in the folder with jQuery and other plugins (under the MIT license)... If I change something in the source code, what should I do? Could I use jQuery in proprietary programms (even if it is modified by me)?
[jQuery] jQuery Form Plugin
Firs of all, perfect work. But I have problems with file uploads in opera 10. I found the reason. It is here: if (--domCheckCount) { // in some browsers (Opera) the iframe DOM is not always traversable when // the onload callback fires, so we loop a bit to accommodate cbInvoked = 0; setTimeout(cb, 100); return; } But we have only 5 secs... It is not enough... I propose to modify it so: if (true) { // in some browsers (Opera) the iframe DOM is not always traversable when // the onload callback fires, so we loop a bit to accommodate cbInvoked = 0; setTimeout(cb, 100); return; } So, we will have the iframe DOM in any way even if the uploading of file lasts for example 3 minutes...
[jQuery] Validation
Hi, i cant figure this one out!!! I´m using the validation plugin and want to validate a form to a guestbook. Im using ajax to post the message . the problem is that when i submit the form the first time it´s fine, but the second time it posts twice, and the third time it posts three times, and so on. adding one every time i submit. heres the script: $(function() { $("form#send_gb").validate({ submitHandler: function(form) { $(form).submit(function(e) { var gb_post = $("#gb_post").attr("value"); var userid = $("#userid").attr("value"); var ownerid = $("#ownerid").attr("value"); $.ajax({ type: "POST", url: "_scripts/send_message.php", data: "action=send_gb& gb_post="+ gb_post +"& userid="+ userid +"& ownerid="+ ownerid, beforeSend: function() { $("#gbPosts").prepend(""); }, success: function() { $("#gbPosts").load("_members/gb_posts.php?funk&userID="+userid, function(){ $(".gb_message:first-child").hide().fadeIn(1200); $("#gb_post").attr("value",""); }); } }); e.preventDefault(); }); } }); }); Does anyone see what i´m doing wrong? help would be mch apreciated. Thanks in advance Jojje
[jQuery] SerialScroll working fine in Chrome, FF but not IE
Hi there, I'm building a portfolio site at the moment using serialScroll for the gallery. I've been racking my brains over this, but I can't seem to get it to work in Internet Explorer. A sample page: http://sleepymeuk.dreamhosters.com/noid/reportage.html The other bits of jQuery are working, so I javascript is enabled on the browser... Any help would be appreciated! -- View this message in context: http://old.nabble.com/SerialScroll-working-fine-in-Chrome%2C-FF-but-not-IE-tp26363285s27240p26363285.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Re: [jQuery] jquery compatibility problem (easing)
first remove jQuery.easing.def = ‘easeOutBounce’; then replace function animate() { $('#newThread').animate({left:0}, 2000); } with function animate() { $('#newThread').animate({left: "0px"}, 2000, 'easeOutBounce') } --JMcGinnis eveready wrote: > > I don't know much about Jquery or javascript for that matter. I > apologize in advance for the noobieness of my question. > > I have the easing plugin on a site, which make a logo come in from the > side and 'bounce' into place. > > > $(function(){ > $('#newThread').css({left:'1200px'}) > jQuery.easing.def = ‘easeOutBounce’; > setTimeout(animate, 500); > }); > > function animate() > { > $('#newThread').animate({left:0}, 2000); > } > > > I believe this code sets the default ease as 'easeOutBounce'. My > problem is this is affecting all my other jquery animations and they > are all bouncing. > > One example is the following: > > > > SmokeEffect.imgLocation = "URL"; > SmokeEffect.smokeWidth = 80; > SmokeEffect.smokeHeight = 45; > SmokeEffect.makeEffect("smokeSpawnPoint", 216, 0); > > > This creates the animation of a puff of smoke being released from a > chimney. Unfortunately, the smoke cloud 'bounces'. > > As I said, I don't know much about this stuff, but I've tried to add > this... > $(element).slideUp(1000, method, callback}); > > and this... > > $(element).slideUp({ > duration: 1000, > easing: method, > complete: callback}); > to the second code (and the first), but I haven't been able to solve > the problem. > > Can someone please help me solve this and be very specific as to the > steps I have to take. > > Any help is greatly, greatly appreciated. > > -- View this message in context: http://old.nabble.com/jquery-compatibility-problem-%28easing%29-tp26350343s27240p26363148.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Re: [jQuery] Any kind soul to help me figure out whats wrong?
not entirely sure what gallery is supposed to do but you can align the thumbs better changing this css: .gallery_demo li { background:#00 none repeat scroll 0 0; border:3px double #11; height:50px; margin:0 2px; width:68px; } add: float: left and height: 100px? // adjust to suit It will at least align the thumbs. If they are all supposed to be on one level will take further css/html/js to fix Brandon wrote: Hi all, I have no training in jquery. Can anyone help me see what is wrong with my thumbnail gallery at http://www.brandonclicks.com ? It was ok and in two neat rows when I used it at blogspot but once I changed it to a custom domain, it is all messed up. I would appreciate any help I can get. Thank you!! Brandon
Re: [jQuery] Any kind soul to help me figure out whats wrong?
Good thing you don't need to know anything about Jquery to solve this problem.. :clap: very simple fix, just add float: left; to your ".gallery_demo li" class and also remove the height style from that same class. -jmcginnis Brandon-71 wrote: > > Hi all, > I have no training in jquery. Can anyone help me see what is wrong > with my thumbnail gallery at http://www.brandonclicks.com ? > It was ok and in two neat rows when I used it at blogspot but once I > changed it to a custom domain, it is all messed up. > > I would appreciate any help I can get. > > Thank you!! > > Brandon > > -- View this message in context: http://old.nabble.com/Any-kind-soul-to-help-me-figure-out-whats-wrong--tp26361605s27240p26363009.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Re: [jQuery] Ajax call for each element
Hey, Have you thought about setting a key,value pair in your JSON being returned corrasponding too the url=" + escape($ (this).attr("id")" that your passing in, then on the callback just use $("#"+myJson[:id]) or something like that? just a thought. GreatS wrote: > > Currently I go through a number of elements using the each function > and for each element I do an ajax call, the result of each ajax call > should then replace the content of the corresponding element. When I > started working on it, it sounded ridiculously easy, however I am > unable to identify which element corresponds to which ajax response > function, due to the fact that the ajax call is asynchronous to the > script. Here is the main part of the script: > $(".shorten").each(function(){ > element = this; > $.getJSON("http://safe.mn/api/?format=jsonp&url="; + escape($ > (this).attr("id")) + "&callback=?", > function(data){ > // element will be the last element in the each loop > } > ); > }); > I have no clue at all anymore on how to solve it, so a pointer in the > right direction would be more then appreciated. Essentially all I need > is to pass a variable from outside the ajax call - at the point the > ajax call is launched - into the response function. > Thanks in advance, > > -- View this message in context: http://old.nabble.com/Ajax-call-for-each-element-tp26361606s27240p26362955.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Re: [jQuery] Adding "looping" to existing jquery script?
without spending a lot of time dissecting this code the part you would need to focus on is: //if not at the first or last panel if((direction && !(curPanel < totalPanels)) || (!direction && (curPanel <= 1))) { return false; } this is telling slider not to do anything if at last panel, amongst other tests, since curPanel =totalPanels when you get to last slide element you would need to create some different scenarios to do what you want . Not a quick one liner to make this loop and will take a bit of testing to make sure all scenarios are covered you can replace the above "return false" with 'if" 's to do what you need for those scenarios however you will need to make sure that replacing the "return false" you cover all the bases covered within the "if" above RodeoRamsey wrote: I'm using the jquery script "moving boxes" found on CSS-Tricks.com (http://css-tricks.com/moving-boxes/) ... It works great so far except for one thing I need to accomplish. I need to have the script "loop" the content, so that when my images/divs are loaded, once you get to the last one, if you click the right arrow, the 1st image/div comes back into rotation. So basically it would be a never-ending infinite loop of the content images/divs. Can anyone help me? Here is the jquery: -- $(function() { var totalPanels = $(".scrollContainer").children().size(); var regWidth = $(".panel").css("width"); var regImgWidth = $(".panel img").css("width"); var regTitleSize = $(".panel h2").css("font-size"); var regParSize = $(".panel p").css("font-size"); var movingDistance = 150; var curWidth = 225; var curImgWidth = 225; var curTitleSize = "20px"; var curParSize = "15px"; var $panels= $('#slider .scrollContainer > div'); var $container = $('#slider .scrollContainer'); $panels.css({'float' : 'left','position' : 'relative'}); $("#slider").data("currentlyMoving", false); $container .css('width', ($panels[0].offsetWidth * $panels.length) + 100 ) .css('left', "-350px"); var scroll = $('#slider .scroll').css('overflow', 'hidden'); function returnToNormal(element) { $(element) .animate({ width: regWidth }) .find("img") .animate({ width: regImgWidth }) .end() .find("h2") .animate({ fontSize: regTitleSize }) .end() .find("p") .animate({ fontSize: regParSize }); }; function growBigger(element) { $(element) .animate({ width: curWidth }) .find("img") .animate({ width: curImgWidth }) .end() .find("h2") .animate({ fontSize: curTitleSize }) .end() .find("p") .animate({ fontSize: curParSize }); } //direction true = right, false = left function change(direction) { //if not at the first or last panel if((direction && !(curPanel < totalPanels)) || (!direction && (curPanel <= 1))) { return false; } //if not currently moving if (($("#slider").data("currentlyMoving") == false)) { $("#slider").data("currentlyMoving", true); var next = direction ? curPanel + 1 : curPanel - 1; var leftValue= $(".scrollContainer").css("left"); var movement = direction ? parseFloat(leftValue, 10) - movingDistance : parseFloat(leftValue, 10) + movingDistance; $(".scrollContainer") .stop() .animate({ "left": movement }, function() { $("#slider").data("currentlyMoving", false); }); returnToNormal("#panel_"+curPanel); growBigger("#panel_"+next); curPanel = next; //remove all previous bound functions $("#panel_"+(curPanel+1)).unbind(); //go forward $("#panel_"+(curPanel+1)).click(function(){ change(true); }); //remove all previous bound functions $("#panel_"+(curPanel-1)).unbind(); //go back $("#panel_"+(curPanel-1)).click(function(){ change(false); }); //remove all previous bound functions $("#panel_"+curPanel).unbind(); } } // Set up "Current" panel and next and prev growBigger("#panel_5"); var curPanel = 5; $("#panel_"+(curPanel+1)).click(function(){ change(true); }); $("#panel_"+(curPanel-1)).click(function(){ change(false); }); //when the left/right arrows are clicked $(".right").click(function(){ change(true); }); $(".left").click(function(){ change(false); }); $(window).keydown(function(event){ switch (event.keyCode) { case 13: //enter $(".right").click(); break; case 32: //space $(".right").click(); break; case 37: //left arrow $(".left").click(); break; case 39: //right arrow $(".right").click(); break; } }); }); -
Re: [jQuery] jquery, eval and javascript in Ajax response
Hi Luca, the instructions that Pofferbacco gave you will definitely work, however I would suggest not returning javascript from and ajax call unless its an array, even then, you should probably use JSON or XML when you can. Here is my suggestion. This part of your code looks fine and will work okay. function requestCustomerInfo() { var sId = $("input#includi").val(); $.get("page_b.php?query=" + sId, displayCustomerInfo); } This next part of your code, the displayCustomerInfo function needs a little work, first off, the varialbes sText and sStats that are being passed dont exist from what i can see in your example, second you don't need to check the status of the request, jquery handles that part in the $.get function. Here is how your displayCustomerInfo function should look. //data is going to be what is returned from pageb, basically it's what you wanted sText to be. function displayCustomerInfo(data) { $("div#divCustomerInfo").html(data); } Now this will work, however, you still have another problem, you probably shouldn't return a javascript function, on your phppage, you only really need to output , then in your displayCustomerInfo function you could do this. function displayCustomerInfo(data) { var newDiv = ""; $("div#divCustomerInfo").html(newDiv); new LinkedIn.CompanyInsiderPopup("li"+data,"Microsoft"); } Feel free to send me a private message if you have any questions on this code i gave you. -- JMcginnis Pofferbacco wrote: > > Hello, > I need your help to solve an issue. > > I have: > - page a: a page with a form > - page b: a php page that output a result after a query to the > database > > I use ajax to do the request to page b and I display the result in > page a. > Inside the output there is a javascript script that is not displayed > in page a after the search. > I know I have to use eval to let the script work, but I don't know > where, since jquery (and javascript) is really new for me > > Inside page a I have the following code: > > > http://www.linkedin.com/companyInsider? > script&useBorder=yes" type="text/javascript"> > > // function requestCustomerInfo() { > var sId = $("input#includi").val(); > $.get("page_b.php?query=" + sId, displayCustomerInfo); > } > > function displayCustomerInfo(sText, sStatus) { > if (sStatus == "success") { > $("div#divCustomerInfo").html(sText); > } else { > $("div#divCustomerInfo").html("An error occurred."); > } > } > //]]> > > > Inside the output of page b I have this script: > > " style=" padding- > left:30px;"> > > new LinkedIn.CompanyInsiderPopup("li=$fld > ["id"];?>","Microsoft"); > > > This script is not displayed in page a. > Where do I have to use eval in order to let this script works?? > > Thank you. > Luca > > -- View this message in context: http://old.nabble.com/jquery%2C-eval-and-javascript-in-Ajax-response-tp26361604s27240p26362651.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: Round numbers
That worked! Thank you very much for your help. I was putting Math.ceil () completely in the wrong place. On Nov 15, 6:06 pm, PiotrJaniak wrote: > Hi, > > in your code this should look like this: > > $(document).ready(function() { > > $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function cal > () { > $("#thirdBox").val(Math.ceil(((Number($("#forthBox").val()) * Number > ($ > ("#secondBox").val()) )/100 )- Number($("#firstBox").val(; > > }); > > $("#Increase").click(function() { > $("#forthBox").val(5 + Number($("#forthBox").val()) ); > $("#thirdBox").val(Math.ceil(((Number($("#forthBox").val()) * Number > ($ > ("#secondBox").val()) )/100 )- Number($("#firstBox").val(; > }); > > $("#Decrease").click(function() { > $("#forthBox").val( Number($("#forthBox").val()) - 5 ); > $("#thirdBox").val(Math.ceil(((Number($("#forthBox").val()) * Number > ($ > ("#secondBox").val()) )/100 )- Number($("#firstBox").val(; > }); > > but if it doesn't work show us your html... > > On 15 Lis, 18:51, waseem sabjee wrote: > > > > > May i see your html > > > On Sun, Nov 15, 2009 at 7:24 PM, factoringcompare.com < > > > firstfacto...@googlemail.com> wrote: > > > Thanks. this does not work. Added class to form and included the > > > above. > > > > On Nov 15, 5:05 pm, waseem sabjee wrote: > > > > say you have 5 text boxes each with the class mybox > > > > > var x = $(".mybox").length; > > > > > var y = Math.Round(x); > > > > > OR > > > > > var y = Math.Ceil(x); > > > > > On Sun, Nov 15, 2009 at 6:45 PM, factoringcompare.com < > > > > > firstfacto...@googlemail.com> wrote: > > > > > Hi, > > > > > > Great, I have a a go at putting into my code but can't can you suggest > > > > > how? > > > > > > On Nov 15, 4:06 pm, PiotrJaniak wrote: > > > > > > Hi, > > > > > > > to round up results u can use Math.ceil(value); > > > > > > > On 15 Lis, 16:10, "factoringcompare.com" > > > > > > > wrote: > > > > > > > Hi, > > > > > > > > The below calculates a couple of textboxes and then allows for the > > > > > > > user to click an up or down image to re calculate decreasing or > > > > > > > increasing a number. Question is how can I round up the result to > > > no > > > > > > > decimal places? > > > > > > > > And ….. . any suggestions on how to improve the code would be > > > > > > > good. > > > > > > > > $(document).ready(function() { > > > > > > > > $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function > > > cal > > > > > > > () { > > > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > > > > }); > > > > > > > > $("#Increase").click(function() { > > > > > > > $("#forthBox").val(5 + Number($("#forthBox").val()) ); > > > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > > > }); > > > > > > > > $("#Decrease").click(function() { > > > > > > > $("#forthBox").val( Number($("#forthBox").val()) - 5 ); > > > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > > > }); > > > > > > > > });- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
[jQuery] Re: jquery, eval and javascript in Ajax response
Hi, I think there is no need to use eval(); function. I'm not sure if this works but i would do it like that: function requestCustomerInfo() { var sId = $("input#includi").val(); $("div#divCustomerInfo").load("page_b.php?query=" + sId, FunctionFromBPage()); //or $("div#divCustomerInfo").load ("page_b.php", {query: sId}, FunctionFromBPage()); } page b javascript code function FunctionFromBPage(){ new LinkedIn.CompanyInsiderPopup("li=$fld [\"id\"];? >","Microsoft"); } On 15 Lis, 16:03, Pofferbacco wrote: > Hello, > I need your help to solve an issue. > > I have: > - page a: a page with a form > - page b: a php page that output a result after a query to the > database > > I use ajax to do the request to page b and I display the result in > page a. > Inside the output there is a javascript script that is not displayed > in page a after the search. > I know I have to use eval to let the script work, but I don't know > where, since jquery (and javascript) is really new for me > > Inside page a I have the following code: > > > http://www.linkedin.com/companyInsider? > script&useBorder=yes" type="text/javascript"> > > // function requestCustomerInfo() { > var sId = $("input#includi").val(); > $.get("page_b.php?query=" + sId, displayCustomerInfo); > > } > > function displayCustomerInfo(sText, sStatus) { > if (sStatus == "success") { > $("div#divCustomerInfo").html(sText); > } else { > $("div#divCustomerInfo").html("An error occurred."); > }} > > //]]> > > > Inside the output of page b I have this script: > > " style=" padding- > left:30px;"> > > new LinkedIn.CompanyInsiderPopup("li=$fld > ["id"];?>","Microsoft"); > > > This script is not displayed in page a. > Where do I have to use eval in order to let this script works?? > > Thank you. > Luca
[jQuery] Re: jquery, eval and javascript in Ajax response
Hi, i think there is no need to use eval() function. I'm not sure if it works but i would do it like that: function requestCustomerInfo() { var sId = $("input#includi").val(); $("div#divCustomerInfo").load("page_b.php?query=" + sId, FunctionFromBPage()); //or $("div#divCustomerInfo").load ("page_b.php", {query: sId}, FunctionFromBPage()); } - javascript from B page - function FunctionFromBPage(){ new LinkedIn.CompanyInsiderPopup("li=$fld [\"id\"];? >","Microsoft"); } - javascript from B page - On 15 Lis, 16:03, Pofferbacco wrote: > Hello, > I need your help to solve an issue. > > I have: > - page a: a page with a form > - page b: a php page that output a result after a query to the > database > > I use ajax to do the request to page b and I display the result in > page a. > Inside the output there is a javascript script that is not displayed > in page a after the search. > I know I have to use eval to let the script work, but I don't know > where, since jquery (and javascript) is really new for me > > Inside page a I have the following code: > > > http://www.linkedin.com/companyInsider? > script&useBorder=yes" type="text/javascript"> > > // function requestCustomerInfo() { > var sId = $("input#includi").val(); > $.get("page_b.php?query=" + sId, displayCustomerInfo); > > } > > function displayCustomerInfo(sText, sStatus) { > if (sStatus == "success") { > $("div#divCustomerInfo").html(sText); > } else { > $("div#divCustomerInfo").html("An error occurred."); > }} > > //]]> > > > Inside the output of page b I have this script: > > " style=" padding- > left:30px;"> > > new LinkedIn.CompanyInsiderPopup("li=$fld > ["id"];?>","Microsoft"); > > > This script is not displayed in page a. > Where do I have to use eval in order to let this script works?? > > Thank you. > Luca
[jQuery] Re: Jquery Validate Problem on IE (Solved)
- kullanici: "Boşluk ve Türkçe karakter kullanılmadan en az 6 karakter", } *>>> , <<<* SIFRE: { - that comma makes the script crash. Thx Hasan Tayyar BESIK from http://groups.google.com.tr/group/jquery-turkish/browse_thread/thread/1a4968641fbe5e7b . On 15 Kasım, 17:51, serhat wrote: > Sorry my friend, still wating for solution. Tried a lot but still have > the same problem :( We will get a solution just wait for replies. > > On 15 Kasım, 13:13, debian wrote: > > > > > I have the same problem without any $addMethod's. I saw some threads > > about comma problems but can't make it work too :( . Did you find any > > solution? > > > On 14 Kasım, 10:24, serhat wrote: > > > > I really need a solution soon can any one check my code? > > > > On 14 Kasım, 00:17, serhat wrote: > > > > > I also tried without $.validator.addMethod but still have the same > > > > problem... Any idea or fix for this validation script? Thx for any > > > > advise :) > > > > > On 13 Kasým, 18:25, serhat wrote: > > > > > > I have a form validation with Jquery+Jquery Validation Plugin. I tried > > > > > all variations on my page but cant make it work on IE 6.0 , 7.0 or 8.0 > > > > > but both Firefox and Chrome works great. The code is; > > > > > > $(document).ready(function() { > > > > > $.validator.addMethod("kullanici", function (value, element) { > > > > > return /^[a-zA-Z0-9]+$/.test(value); > > > > > },"Format"); > > > > > > $.validator.addMethod("dogum", function (value, element) { > > > > > return /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/ > > > > > ((19|[2-9]\d)\d > > > > > {2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))| > > > > > ((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]| > > > > > [2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26]) > > > > > 00$/.test(value); > > > > > },"Tarih formatý Gün/Ay/Yýl olmalýdýr"); > > > > > > $.validator.addMethod("cep", function (value, element) { > > > > > return /[0-9]{7}/.test(value); > > > > > },"Cep telefonu formatý yanlýþ"); > > > > > > var validator = $("#Uyeolform").validate({ > > > > > rules: { > > > > > KULLANICI_ADI: { > > > > > required: true, > > > > > minlength: 6, > > > > > maxlength: 20, > > > > > kullanici: true > > > > > }, > > > > > SIFRE: { > > > > > required: true, > > > > > minlength: 6 > > > > > }, > > > > > V_SIFRE: { > > > > > required: true, > > > > > equalTo: "#SIFRE" > > > > > }, > > > > > GIZLI_SORU: "required", > > > > > GIZLI_SORUM: "required", > > > > > GIZLI_SORU_CEVAP: "required", > > > > > ADI: "required", > > > > > SOYADI: "required", > > > > > EMAIL: { > > > > > required: true, > > > > > email: true > > > > > }, > > > > > V_EMAIL: { > > > > > required: true, > > > > > equalTo: "#EMAIL" > > > > > }, > > > > > CEP_TEL1: "required", > > > > > CEP_TEL2: { > > > > > required: true, > > > > > cep: true > > > > > }, > > > > > DOGUM_TARIHI: { > > > > > dogum: true, > > > > > required: true > > > > > }, > > > > > SEHIR: "required", > > > > > SOZLESME: "required" > > > > > }, > > > > > messages: { > > > > > KULLANICI_ADI: { > > > > > required: "Kullanýcý adýnýzý giriniz", > > > > > minlength: jQuery.format("En az {0} > > > > > karakter girebilirsiniz"), > > > > > maxlength: jQuery.format("En fazla {0} > > > > > karakter girebilirsiniz"), > > > > > kullanici: "Boþluk ve Türkçe karakter > > > > > kullanýlmadan en az 6 > > > > > karakter", > > > > > }, > > > > > SIFRE: { > > > > > required: "Þifrenizi giriniz", > > >
[jQuery] Any kind soul to help me figure out whats wrong?
Hi all, I have no training in jquery. Can anyone help me see what is wrong with my thumbnail gallery at http://www.brandonclicks.com ? It was ok and in two neat rows when I used it at blogspot but once I changed it to a custom domain, it is all messed up. I would appreciate any help I can get. Thank you!! Brandon
[jQuery] jquery, eval and javascript in Ajax response
Hello, I need your help to solve an issue. I have: - page a: a page with a form - page b: a php page that output a result after a query to the database I use ajax to do the request to page b and I display the result in page a. Inside the output there is a javascript script that is not displayed in page a after the search. I know I have to use eval to let the script work, but I don't know where, since jquery (and javascript) is really new for me Inside page a I have the following code: http://www.linkedin.com/companyInsider? script&useBorder=yes" type="text/javascript"> // Inside the output of page b I have this script: " style=" padding- left:30px;"> new LinkedIn.CompanyInsiderPopup("li=$fld ["id"];?>","Microsoft"); This script is not displayed in page a. Where do I have to use eval in order to let this script works?? Thank you. Luca
[jQuery] Queries on document in "child" window
Hi, If I open some foreign document in "child" window using window.open ('http://...', ...), is there some easy way I can make jQuery queries on that foreign document, using the jQuery that's loaded into my "parent" (opener) window? I know it's possible for my "parent" window to make the "child" window load it's own jQuery, if it didn't already have it, and use that, but that is not as easy as I could prefer. /Jon
[jQuery] Ajax call for each element
Currently I go through a number of elements using the each function and for each element I do an ajax call, the result of each ajax call should then replace the content of the corresponding element. When I started working on it, it sounded ridiculously easy, however I am unable to identify which element corresponds to which ajax response function, due to the fact that the ajax call is asynchronous to the script. Here is the main part of the script: $(".shorten").each(function(){ element = this; $.getJSON("http://safe.mn/api/?format=jsonp&url="; + escape($ (this).attr("id")) + "&callback=?", function(data){ // element will be the last element in the each loop } ); }); I have no clue at all anymore on how to solve it, so a pointer in the right direction would be more then appreciated. Essentially all I need is to pass a variable from outside the ajax call - at the point the ajax call is launched - into the response function. Thanks in advance,
[jQuery] Re: Round numbers
Hi, in your code this should look like this: $(document).ready(function() { $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function cal () { $("#thirdBox").val(Math.ceil(((Number($("#forthBox").val()) * Number ($ ("#secondBox").val()) )/100 )- Number($("#firstBox").val(; }); $("#Increase").click(function() { $("#forthBox").val(5 + Number($("#forthBox").val()) ); $("#thirdBox").val(Math.ceil(((Number($("#forthBox").val()) * Number ($ ("#secondBox").val()) )/100 )- Number($("#firstBox").val(; }); $("#Decrease").click(function() { $("#forthBox").val( Number($("#forthBox").val()) - 5 ); $("#thirdBox").val(Math.ceil(((Number($("#forthBox").val()) * Number ($ ("#secondBox").val()) )/100 )- Number($("#firstBox").val(; }); but if it doesn't work show us your html... On 15 Lis, 18:51, waseem sabjee wrote: > May i see your html > > On Sun, Nov 15, 2009 at 7:24 PM, factoringcompare.com < > > > > firstfacto...@googlemail.com> wrote: > > Thanks. this does not work. Added class to form and included the > > above. > > > On Nov 15, 5:05 pm, waseem sabjee wrote: > > > say you have 5 text boxes each with the class mybox > > > > var x = $(".mybox").length; > > > > var y = Math.Round(x); > > > > OR > > > > var y = Math.Ceil(x); > > > > On Sun, Nov 15, 2009 at 6:45 PM, factoringcompare.com < > > > > firstfacto...@googlemail.com> wrote: > > > > Hi, > > > > > Great, I have a a go at putting into my code but can't can you suggest > > > > how? > > > > > On Nov 15, 4:06 pm, PiotrJaniak wrote: > > > > > Hi, > > > > > > to round up results u can use Math.ceil(value); > > > > > > On 15 Lis, 16:10, "factoringcompare.com" > > > > > > wrote: > > > > > > Hi, > > > > > > > The below calculates a couple of textboxes and then allows for the > > > > > > user to click an up or down image to re calculate decreasing or > > > > > > increasing a number. Question is how can I round up the result to > > no > > > > > > decimal places? > > > > > > > And ….. . any suggestions on how to improve the code would be good. > > > > > > > $(document).ready(function() { > > > > > > > $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function > > cal > > > > > > () { > > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > > > }); > > > > > > > $("#Increase").click(function() { > > > > > > $("#forthBox").val(5 + Number($("#forthBox").val()) ); > > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > > }); > > > > > > > $("#Decrease").click(function() { > > > > > > $("#forthBox").val( Number($("#forthBox").val()) - 5 ); > > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > > }); > > > > > > > });- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -
Re: [jQuery] Re: Round numbers
May i see your html On Sun, Nov 15, 2009 at 7:24 PM, factoringcompare.com < firstfacto...@googlemail.com> wrote: > Thanks. this does not work. Added class to form and included the > above. > > > On Nov 15, 5:05 pm, waseem sabjee wrote: > > say you have 5 text boxes each with the class mybox > > > > var x = $(".mybox").length; > > > > var y = Math.Round(x); > > > > OR > > > > var y = Math.Ceil(x); > > > > On Sun, Nov 15, 2009 at 6:45 PM, factoringcompare.com < > > > > > > > > firstfacto...@googlemail.com> wrote: > > > Hi, > > > > > Great, I have a a go at putting into my code but can't can you suggest > > > how? > > > > > On Nov 15, 4:06 pm, PiotrJaniak wrote: > > > > Hi, > > > > > > to round up results u can use Math.ceil(value); > > > > > > On 15 Lis, 16:10, "factoringcompare.com" > > > > > > wrote: > > > > > Hi, > > > > > > > The below calculates a couple of textboxes and then allows for the > > > > > user to click an up or down image to re calculate decreasing or > > > > > increasing a number. Question is how can I round up the result to > no > > > > > decimal places? > > > > > > > And ….. . any suggestions on how to improve the code would be good. > > > > > > > $(document).ready(function() { > > > > > > > $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function > cal > > > > > () { > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > > > }); > > > > > > > $("#Increase").click(function() { > > > > > $("#forthBox").val(5 + Number($("#forthBox").val()) ); > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > }); > > > > > > > $("#Decrease").click(function() { > > > > > $("#forthBox").val( Number($("#forthBox").val()) - 5 ); > > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > }); > > > > > > > });- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text - >
Re: [jQuery] Please help - Table sorter does not seem to work
Thanks very much for the help. PiotrJaniak wrote: > > Hi, > > apparently Tablesorter can't handle zeros in sorted table. Without > any 0 value your code works fine. > > check out this thread: > > http://groups.google.com/group/jquery-dev/browse_thread/thread/d8e75a30f7ca3067 > > and this site: > > http://beckelman.net/post/2008/10/24/Checkbox-Parser-and-Bug-Fix-for-jQuery-TableSorter-Plugin.aspx > > > On 14 Lis, 21:28, jarun111 wrote: >> Hi, >> I tried removing the space. Does not work as well :< >> >> Does tablesorter script have issues with this particular use case? I see >> the >> same thing working on the example page though. Not sure. How do I write >> the >> custom parser for this one? Do u have any sample for this? >> >> Thanks >> >> >> >> >> >> MorningZ wrote: >> >> > it thinks they are characters because you seemingly have spaces after >> > the numbers themselves you'll either >> > 1) need to trim off the whitespace in your html >> > 2) write a custom parser to do this >> >> > On Nov 14, 12:48 am, jarun111 wrote: >> >> Hi, >> >> I am trying to sort a table using jquery table sorter and the no >> column >> >> that >> >> I need to sort is not properly sorted. Can you please help on this. >> They >> >> are >> >> getting sorted by characters. >> >> >> Code below: >> >> >> >> >> >> >> >> > >> src="http://tablesorter.com/jquery-latest.js";> >> >> >> > >> src="http://tablesorter.com/jquery.tablesorter.js";> >> >> > >> >> src="http://tablesorter.com/addons/pager/jquery.tablesorter.pager.js";> >> >> >> > >> src="http://tablesorter.com/docs/js/chili/chili-1.8b.js";> >> >> > >> src="http://tablesorter.com/docs/js/docs.js";> >> >> > >> src="http://tablesorter.com/docs/js/examples.js";> >> >> >> > >> /> >> >> >> >> >> >> >> >> >> >> >> Test NameNo >> >> >> >> >> >> >> >> AUDITTRAIL.UPDATE.PLTOPL.P20 >> >> AUDITTRAIL.UPDATE.PLTOPL.P34 >> >> AUDITTRAIL.UPDATE.PLTOPL.P40 >> >> AUDITTRAIL.UPDATE.ZTSTOPL.*0 >> >> AUDITTRAIL.UPDATE.ZTSTOPL.P141 >> >> AUDITTRAIL.UPDATE.ZTSTOPL.P20 >> >> AUDITTRAIL.UPDATE.ZTSTOPL.P30 >> >> AUDITTRAIL.UPDATE.ZTSTOPL.P40 >> >> EQMPRIMO.PD.PD.T15 >> >> EQPRIMO.PDRESP.PRH.T152 >> >> >> >> >> >> >> >> >> >> $("#myTable").tablesorter(); >> >> >> >> >> >> >> Thanks >> >> -- >> >> View this message in >> >> >> context:http://old.nabble.com/Please-help---Table-sorter-does-not-seem-to-wor... >> >> Sent from the jQuery General Discussion mailing list archive at >> >> Nabble.com. >> >> -- >> View this message in >> context:http://old.nabble.com/Please-help---Table-sorter-does-not-seem-to-wor... >> Sent from the jQuery General Discussion mailing list archive at >> Nabble.com. > > -- View this message in context: http://old.nabble.com/Please-help---Table-sorter-does-not-seem-to-work-tp26347424s27240p26361191.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: Round numbers
Thanks. this does not work. Added class to form and included the above. On Nov 15, 5:05 pm, waseem sabjee wrote: > say you have 5 text boxes each with the class mybox > > var x = $(".mybox").length; > > var y = Math.Round(x); > > OR > > var y = Math.Ceil(x); > > On Sun, Nov 15, 2009 at 6:45 PM, factoringcompare.com < > > > > firstfacto...@googlemail.com> wrote: > > Hi, > > > Great, I have a a go at putting into my code but can't can you suggest > > how? > > > On Nov 15, 4:06 pm, PiotrJaniak wrote: > > > Hi, > > > > to round up results u can use Math.ceil(value); > > > > On 15 Lis, 16:10, "factoringcompare.com" > > > > wrote: > > > > Hi, > > > > > The below calculates a couple of textboxes and then allows for the > > > > user to click an up or down image to re calculate decreasing or > > > > increasing a number. Question is how can I round up the result to no > > > > decimal places? > > > > > And ….. . any suggestions on how to improve the code would be good. > > > > > $(document).ready(function() { > > > > > $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function cal > > > > () { > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > }); > > > > > $("#Increase").click(function() { > > > > $("#forthBox").val(5 + Number($("#forthBox").val()) ); > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > }); > > > > > $("#Decrease").click(function() { > > > > $("#forthBox").val( Number($("#forthBox").val()) - 5 ); > > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > }); > > > > > });- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
Re: [jQuery] Re: Scroll so that an element is at the bottom of the viewport
This should do. $.scrollTo('#elem', 1000, { over:{ top:0.5 }, offset:{ top: -$(window).height() / 2 } }); On Sun, Nov 15, 2009 at 10:35 AM, Rizky wrote: > hi ariel, > > great plugin here, i'm using it for my next project (if the marketing > guys could win the pitch). currently it's still a prototype. > > i have a question as well. what should i do if i want to scroll to an > element and make it appear in the center of the viewport? all elements > are absolutely positioned. > > thx for the help. > -- Ariel Flesler http://flesler.blogspot.com
Re: [jQuery] Re: Round numbers
say you have 5 text boxes each with the class mybox var x = $(".mybox").length; var y = Math.Round(x); OR var y = Math.Ceil(x); On Sun, Nov 15, 2009 at 6:45 PM, factoringcompare.com < firstfacto...@googlemail.com> wrote: > Hi, > > Great, I have a a go at putting into my code but can't can you suggest > how? > > On Nov 15, 4:06 pm, PiotrJaniak wrote: > > Hi, > > > > to round up results u can use Math.ceil(value); > > > > On 15 Lis, 16:10, "factoringcompare.com" > > > > > > > > wrote: > > > Hi, > > > > > The below calculates a couple of textboxes and then allows for the > > > user to click an up or down image to re calculate decreasing or > > > increasing a number. Question is how can I round up the result to no > > > decimal places? > > > > > And ….. . any suggestions on how to improve the code would be good. > > > > > $(document).ready(function() { > > > > > $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function cal > > > () { > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > > > }); > > > > > $("#Increase").click(function() { > > > $("#forthBox").val(5 + Number($("#forthBox").val()) ); > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > }); > > > > > $("#Decrease").click(function() { > > > $("#forthBox").val( Number($("#forthBox").val()) - 5 ); > > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > }); > > > > > });- Hide quoted text - > > > > - Show quoted text - >
[jQuery] Re: problem adding event after ajax post
Yes there are some syntax problems; i converted this from the actual code in an attempt to show the problem. I also agree $('#divId table input') should return an array but in my code the alert returns 0. what i am attempting to show is that when I add content to the #divId, jQuery can not select the new content. What appears to happen, is during the javascript function call which contains the $.post the content is not selectable by jQuery. After the function completes, the content appears on the screen and is then selectable by jQuery. My goal is to add content using $.post and then add event(s) to the new content. What happens is the $.post succeeds but the added content is not selectable so I cant add the events. Thanks for your help. On Nov 14, 8:04 pm, nevadaMedicaid wrote: > $.post(''strutseventname', $('form:first').serialize(), > function(data) { > $('#divId').html(data); > alert('am i visible ' + $('#divId table input).length); > $('#divId table input).click(function() { > alert('i am here'); > }); > }, "html"); > > when i execute the function above, the data in divId appears but the > click function doesnt work. i inserted the alert between inserting the > data and setting the click event. it shows that the data is not > visible to jQuery. > > It appears that jQuery cant see the new data until after the > javascript method ends. > > can you help me understand where i am going wrong? > > thanks
[jQuery] Re: Round numbers
Hi, Great, I have a a go at putting into my code but can't can you suggest how? On Nov 15, 4:06 pm, PiotrJaniak wrote: > Hi, > > to round up results u can use Math.ceil(value); > > On 15 Lis, 16:10, "factoringcompare.com" > > > > wrote: > > Hi, > > > The below calculates a couple of textboxes and then allows for the > > user to click an up or down image to re calculate decreasing or > > increasing a number. Question is how can I round up the result to no > > decimal places? > > > And ….. . any suggestions on how to improve the code would be good. > > > $(document).ready(function() { > > > $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function cal > > () { > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > > }); > > > $("#Increase").click(function() { > > $("#forthBox").val(5 + Number($("#forthBox").val()) ); > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > }); > > > $("#Decrease").click(function() { > > $("#forthBox").val( Number($("#forthBox").val()) - 5 ); > > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > }); > > > });- Hide quoted text - > > - Show quoted text -
[jQuery] Re: Round numbers
Hi, to round up results u can use Math.ceil(value); On 15 Lis, 16:10, "factoringcompare.com" wrote: > Hi, > > The below calculates a couple of textboxes and then allows for the > user to click an up or down image to re calculate decreasing or > increasing a number. Question is how can I round up the result to no > decimal places? > > And ….. . any suggestions on how to improve the code would be good. > > $(document).ready(function() { > > $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function cal > () { > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > > }); > > $("#Increase").click(function() { > $("#forthBox").val(5 + Number($("#forthBox").val()) ); > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > }); > > $("#Decrease").click(function() { > $("#forthBox").val( Number($("#forthBox").val()) - 5 ); > $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ > ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); > }); > > > > });
[jQuery] Re: Jquery Validate Problem on IE (Need Help)+1
Sorry my friend, still wating for solution. Tried a lot but still have the same problem :( We will get a solution just wait for replies. On 15 Kasım, 13:13, debian wrote: > I have the same problem without any $addMethod's. I saw some threads > about comma problems but can't make it work too :( . Did you find any > solution? > > On 14 Kasım, 10:24, serhat wrote: > > > > > I really need a solution soon can any one check my code? > > > On 14 Kasım, 00:17, serhat wrote: > > > > I also tried without $.validator.addMethod but still have the same > > > problem... Any idea or fix for this validation script? Thx for any > > > advise :) > > > > On 13 Kasým, 18:25, serhat wrote: > > > > > I have a form validation with Jquery+Jquery Validation Plugin. I tried > > > > all variations on my page but cant make it work on IE 6.0 , 7.0 or 8.0 > > > > but both Firefox and Chrome works great. The code is; > > > > > $(document).ready(function() { > > > > $.validator.addMethod("kullanici", function (value, element) { > > > > return /^[a-zA-Z0-9]+$/.test(value); > > > > },"Format"); > > > > > $.validator.addMethod("dogum", function (value, element) { > > > > return /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/ > > > > ((19|[2-9]\d)\d > > > > {2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))| > > > > ((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]| > > > > [2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26]) > > > > 00$/.test(value); > > > > },"Tarih formatý Gün/Ay/Yýl olmalýdýr"); > > > > > $.validator.addMethod("cep", function (value, element) { > > > > return /[0-9]{7}/.test(value); > > > > },"Cep telefonu formatý yanlýþ"); > > > > > var validator = $("#Uyeolform").validate({ > > > > rules: { > > > > KULLANICI_ADI: { > > > > required: true, > > > > minlength: 6, > > > > maxlength: 20, > > > > kullanici: true > > > > }, > > > > SIFRE: { > > > > required: true, > > > > minlength: 6 > > > > }, > > > > V_SIFRE: { > > > > required: true, > > > > equalTo: "#SIFRE" > > > > }, > > > > GIZLI_SORU: "required", > > > > GIZLI_SORUM: "required", > > > > GIZLI_SORU_CEVAP: "required", > > > > ADI: "required", > > > > SOYADI: "required", > > > > EMAIL: { > > > > required: true, > > > > email: true > > > > }, > > > > V_EMAIL: { > > > > required: true, > > > > equalTo: "#EMAIL" > > > > }, > > > > CEP_TEL1: "required", > > > > CEP_TEL2: { > > > > required: true, > > > > cep: true > > > > }, > > > > DOGUM_TARIHI: { > > > > dogum: true, > > > > required: true > > > > }, > > > > SEHIR: "required", > > > > SOZLESME: "required" > > > > }, > > > > messages: { > > > > KULLANICI_ADI: { > > > > required: "Kullanýcý adýnýzý giriniz", > > > > minlength: jQuery.format("En az {0} > > > > karakter girebilirsiniz"), > > > > maxlength: jQuery.format("En fazla {0} > > > > karakter girebilirsiniz"), > > > > kullanici: "Boþluk ve Türkçe karakter > > > > kullanýlmadan en az 6 > > > > karakter", > > > > }, > > > > SIFRE: { > > > > required: "Þifrenizi giriniz", > > > > minlength: jQuery.format("En az {0} > > > > karakter girebilirsiniz") > > > > }, > > > > V_SIFRE: { > > > > required: "Þifrenizi tekrar giriniz", > > > > equalTo: "Þifreler uyumsuz" > > > > }, > > > > GIZLI_SORU: "Gizli sorunuzu seçiniz", > > > > GIZLI_SORUM: "Kendi gizli sorunuzu yazýnýz veya > > > > varolanlardan > > > > birini seçiniz", > > > > GIZLI_SORU_CEVAP: "Gizli sor
[jQuery] Round numbers
Hi, The below calculates a couple of textboxes and then allows for the user to click an up or down image to re calculate decreasing or increasing a number. Question is how can I round up the result to no decimal places? And ….. . any suggestions on how to improve the code would be good. $(document).ready(function() { $("#firstBox, #secondBox, #thirdBox, #forthBox").change(function cal () { $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); }); $("#Increase").click(function() { $("#forthBox").val(5 + Number($("#forthBox").val()) ); $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); }); $("#Decrease").click(function() { $("#forthBox").val( Number($("#forthBox").val()) - 5 ); $("#thirdBox").val( ((Number($("#forthBox").val()) * Number($ ("#secondBox").val()) )/100 )- Number($("#firstBox").val())); }); });
[jQuery] XMLHTTPRequest in IE
Hi, I´m to read some web where say that IE 7+ accept XMLHTTPRequest... what problems will be able to have my pages? thank´s
[jQuery] Re: Jquery Validate Problem on IE (Need Help)
I have the same problem without any $addMethod's. I saw some threads about comma problems but can't make it work too :( . Did you find any solution? On 14 Kasım, 10:24, serhat wrote: > I really need a solution soon can any one check my code? > > On 14 Kasım, 00:17, serhat wrote: > > > > > I also tried without $.validator.addMethod but still have the same > > problem... Any idea or fix for this validation script? Thx for any > > advise :) > > > On 13 Kasým, 18:25, serhat wrote: > > > > I have a form validation with Jquery+Jquery Validation Plugin. I tried > > > all variations on my page but cant make it work on IE 6.0 , 7.0 or 8.0 > > > but both Firefox and Chrome works great. The code is; > > > > $(document).ready(function() { > > > $.validator.addMethod("kullanici", function (value, element) { > > > return /^[a-zA-Z0-9]+$/.test(value); > > > },"Format"); > > > > $.validator.addMethod("dogum", function (value, element) { > > > return /^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/ > > > ((19|[2-9]\d)\d > > > {2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))| > > > ((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]| > > > [2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26]) > > > 00$/.test(value); > > > },"Tarih formatý Gün/Ay/Yýl olmalýdýr"); > > > > $.validator.addMethod("cep", function (value, element) { > > > return /[0-9]{7}/.test(value); > > > },"Cep telefonu formatý yanlýþ"); > > > > var validator = $("#Uyeolform").validate({ > > > rules: { > > > KULLANICI_ADI: { > > > required: true, > > > minlength: 6, > > > maxlength: 20, > > > kullanici: true > > > }, > > > SIFRE: { > > > required: true, > > > minlength: 6 > > > }, > > > V_SIFRE: { > > > required: true, > > > equalTo: "#SIFRE" > > > }, > > > GIZLI_SORU: "required", > > > GIZLI_SORUM: "required", > > > GIZLI_SORU_CEVAP: "required", > > > ADI: "required", > > > SOYADI: "required", > > > EMAIL: { > > > required: true, > > > email: true > > > }, > > > V_EMAIL: { > > > required: true, > > > equalTo: "#EMAIL" > > > }, > > > CEP_TEL1: "required", > > > CEP_TEL2: { > > > required: true, > > > cep: true > > > }, > > > DOGUM_TARIHI: { > > > dogum: true, > > > required: true > > > }, > > > SEHIR: "required", > > > SOZLESME: "required" > > > }, > > > messages: { > > > KULLANICI_ADI: { > > > required: "Kullanýcý adýnýzý giriniz", > > > minlength: jQuery.format("En az {0} > > > karakter girebilirsiniz"), > > > maxlength: jQuery.format("En fazla {0} > > > karakter girebilirsiniz"), > > > kullanici: "Boþluk ve Türkçe karakter > > > kullanýlmadan en az 6 > > > karakter", > > > }, > > > SIFRE: { > > > required: "Þifrenizi giriniz", > > > minlength: jQuery.format("En az {0} > > > karakter girebilirsiniz") > > > }, > > > V_SIFRE: { > > > required: "Þifrenizi tekrar giriniz", > > > equalTo: "Þifreler uyumsuz" > > > }, > > > GIZLI_SORU: "Gizli sorunuzu seçiniz", > > > GIZLI_SORUM: "Kendi gizli sorunuzu yazýnýz veya > > > varolanlardan > > > birini seçiniz", > > > GIZLI_SORU_CEVAP: "Gizli sorunuzun cevabýný > > > giriniz", > > > ADI: "Adýnýzý giriniz", > > > SOYADI: "Soyadýnýzý giriniz", > > > EMAIL: { > > > required: "Email adresinizi giriniz", > > > email: "Lütfen geçerli bir email adresi > > > giriniz" > > >
[jQuery] Re: jQuery cycle plugin
Finally discovered my own answer to this - the original code only fails if the fx: parameter is set to 'none' - if set to any other transition effect it works perfectly. Not sure why this should be, but there you go.
[jQuery] Re: superfish.js
Matteo. You didn't provide enough information. Is the whole superfish menu in the wrong place on the page, or are you just talking about submenu position? Is it a horizontal or vertical menu? Do you have sample code? Url? -Greg On Nov 14, 5:59 pm, dailybread wrote: > hi, > I've a little problem with the superfish dropmenu: > > - I've placed it into a div but it appers on the left, instead I want > it on the right.. > > I tried through the div to set it on the right but my little knowledge > of codes and scripts doesn't allow me to do it. > > thanks > > Matteo
Re: [jQuery] Re: Newbie validator question/problem
Look up clousers (sp?) they are used for varriables usualy with the time function. All I have this weekend is my phone so I'm just trying to pull stuff off the top of my head. Sent from my iPhone On Nov 15, 2009, at 7:52 AM, "sprach" wrote: > Sarah, > > Thanks for trying to help. The problem is definetly a scope problem. > I > just don't know how to pass the .. (form.submit) > into > the callback function that $.get() creates. I have tried to create a > "global" > var to assing the form object to, but that doesn't work either. I > don't really > understand the scope that the call back function is in, and the > validator's > form object. > > I need to include the form.submit() call in the $.get's callback > function > because of the asynchronous nature of > AJAX. The $.get()'s callback is not called until the response comes > back from the server. If I call the form.submit() funcition before the > response > comes back, I will either not know whether the server was able to > validate > the credentials. > > -ben > On Nov 15, 4:59 am, "Atkinson, Sarah" > wrote: >> I've never used the get() I wonder If you have a scope problem. You >> might try a closer. Also if your calling a method you need to >> reference the object that the method is part of. I haven't yet gotten >> to the submit part--hopeing to study more validator stuff tonight. >> But >> form.submit() is saying u have an object valuable called form and it >> has a method of submit() >> >> Sent from my iPhone >> >> On Nov 15, 2009, at 4:44 AM, "sprach" wrote: >> >> >> >>> $('form').submit() causes the jquery submit to be fired which is >>> then >>> interecepted >>> again by validator which causes the infinite recursion problem. I >>> need to use validator's >>> form.submit() method. I just can't get to it from the callback used >>> by >>> $.get(). >> >>> -ben >> >>> On Nov 15, 4:28 am, "Atkinson, Sarah" >>> >>> wrote: Try $('form').submit() >> Sent from my iPhone >> On Nov 14, 2009, at 10:44 PM, "sprach" wrote: >> > I am new to javascript, jquery and validator, but really see the > potential and am trying to use in a new application. I am > having a > little trouble wrapping my head around the layers of callbacks. >> > I have a simple login form that I want to validate, but want to > send > an md5 encrypted password to the server. All of my validation > works > until I try and submit the form. Here is the code snippet of the > validator submit handler: >> > > submitHandler: function(form) { >> >var pwd = $('#password').val(); // md5 > encode > the password >md5pwd = hex_md5(pwd); >//$('#password').val(pwd); >> >$.get('../UVServer/login.php','email='+$ > ('#email').val()+ '&password='+ md5pwd, >function(resp) { >if (resp == 'false') >{ >// password didn't match >validator.showErrors({"password": > "Incorrect Password or Email Address!"}); >> >return false; >} > form.submit(); // Password matched, > submit > the form >> >}) >> >}, > ... >> > The problem that I run into is that I cannot call form.submit() in > the > anonymous call back that I use for the jquery $.get call. In the > code > above, firebug claims that form.submit() is not a function. >> > I have tried many work arounds but nothing seems to work. I don't > want to use the "remote" rule, because I don't want to pass the > unencrypted password to the server. >> > Help greatly appreciated.- Hide quoted text - >> - Show quoted text -- Hide quoted text - >> >> - Show quoted text -
[jQuery] Re: Newbie validator question/problem
Sarah, Thanks for trying to help. The problem is definetly a scope problem. I just don't know how to pass the .. (form.submit) into the callback function that $.get() creates. I have tried to create a "global" var to assing the form object to, but that doesn't work either. I don't really understand the scope that the call back function is in, and the validator's form object. I need to include the form.submit() call in the $.get's callback function because of the asynchronous nature of AJAX. The $.get()'s callback is not called until the response comes back from the server. If I call the form.submit() funcition before the response comes back, I will either not know whether the server was able to validate the credentials. -ben On Nov 15, 4:59 am, "Atkinson, Sarah" wrote: > I've never used the get() I wonder If you have a scope problem. You > might try a closer. Also if your calling a method you need to > reference the object that the method is part of. I haven't yet gotten > to the submit part--hopeing to study more validator stuff tonight. But > form.submit() is saying u have an object valuable called form and it > has a method of submit() > > Sent from my iPhone > > On Nov 15, 2009, at 4:44 AM, "sprach" wrote: > > > > > $('form').submit() causes the jquery submit to be fired which is then > > interecepted > > again by validator which causes the infinite recursion problem. I > > need to use validator's > > form.submit() method. I just can't get to it from the callback used > > by > > $.get(). > > > -ben > > > On Nov 15, 4:28 am, "Atkinson, Sarah" > > wrote: > >> Try $('form').submit() > > >> Sent from my iPhone > > >> On Nov 14, 2009, at 10:44 PM, "sprach" > >> wrote: > > >>> I am new to javascript, jquery and validator, but really see the > >>> potential and am trying to use in a new application. I am having a > >>> little trouble wrapping my head around the layers of callbacks. > > >>> I have a simple login form that I want to validate, but want to send > >>> an md5 encrypted password to the server. All of my validation works > >>> until I try and submit the form. Here is the code snippet of the > >>> validator submit handler: > > >>> > >>> submitHandler: function(form) { > > >>> var pwd = $('#password').val(); // md5 > >>> encode > >>> the password > >>> md5pwd = hex_md5(pwd); > >>> //$('#password').val(pwd); > > >>> $.get('../UVServer/login.php','email='+$ > >>> ('#email').val()+ '&password='+ md5pwd, > >>> function(resp) { > >>> if (resp == 'false') > >>> { > >>> // password didn't match > >>> validator.showErrors({"password": > >>> "Incorrect Password or Email Address!"}); > > >>> return false; > >>> } > >>> form.submit(); // Password matched, > >>> submit > >>> the form > > >>> }) > > >>> }, > >>> ... > > >>> The problem that I run into is that I cannot call form.submit() in > >>> the > >>> anonymous call back that I use for the jquery $.get call. In the > >>> code > >>> above, firebug claims that form.submit() is not a function. > > >>> I have tried many work arounds but nothing seems to work. I don't > >>> want to use the "remote" rule, because I don't want to pass the > >>> unencrypted password to the server. > > >>> Help greatly appreciated.- Hide quoted text - > > >> - Show quoted text -- Hide quoted text - > > - Show quoted text -
[jQuery] Re: Scroll so that an element is at the bottom of the viewport
hi ariel, great plugin here, i'm using it for my next project (if the marketing guys could win the pitch). currently it's still a prototype. i have a question as well. what should i do if i want to scroll to an element and make it appear in the center of the viewport? all elements are absolutely positioned. thx for the help.
[jQuery] slider gallery not working
Hello I'm trying to use the slider gallery, the pictures are moving when i move the mouse, but the actual slider isn't moving http://test.dekkers.net/he-il/gallery.htm any ideas? -- View this message in context: http://old.nabble.com/slider-gallery-not-working-tp26358113s27240p26358113.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Re: [jQuery] Re: Newbie validator question/problem
I've never used the get() I wonder If you have a scope problem. You might try a closer. Also if your calling a method you need to reference the object that the method is part of. I haven't yet gotten to the submit part--hopeing to study more validator stuff tonight. But form.submit() is saying u have an object valuable called form and it has a method of submit() Sent from my iPhone On Nov 15, 2009, at 4:44 AM, "sprach" wrote: > $('form').submit() causes the jquery submit to be fired which is then > interecepted > again by validator which causes the infinite recursion problem. I > need to use validator's > form.submit() method. I just can't get to it from the callback used > by > $.get(). > > -ben > > > On Nov 15, 4:28 am, "Atkinson, Sarah" > wrote: >> Try $('form').submit() >> >> Sent from my iPhone >> >> On Nov 14, 2009, at 10:44 PM, "sprach" >> wrote: >> >> >> >>> I am new to javascript, jquery and validator, but really see the >>> potential and am trying to use in a new application. I am having a >>> little trouble wrapping my head around the layers of callbacks. >> >>> I have a simple login form that I want to validate, but want to send >>> an md5 encrypted password to the server. All of my validation works >>> until I try and submit the form. Here is the code snippet of the >>> validator submit handler: >> >>> >>> submitHandler: function(form) { >> >>>var pwd = $('#password').val(); // md5 >>> encode >>> the password >>>md5pwd = hex_md5(pwd); >>>//$('#password').val(pwd); >> >>>$.get('../UVServer/login.php','email='+$ >>> ('#email').val()+ '&password='+ md5pwd, >>>function(resp) { >>>if (resp == 'false') >>>{ >>>// password didn't match >>>validator.showErrors({"password": >>> "Incorrect Password or Email Address!"}); >> >>>return false; >>>} >>> form.submit(); // Password matched, >>> submit >>> the form >> >>>}) >> >>>}, >>> ... >> >>> The problem that I run into is that I cannot call form.submit() in >>> the >>> anonymous call back that I use for the jquery $.get call. In the >>> code >>> above, firebug claims that form.submit() is not a function. >> >>> I have tried many work arounds but nothing seems to work. I don't >>> want to use the "remote" rule, because I don't want to pass the >>> unencrypted password to the server. >> >>> Help greatly appreciated.- Hide quoted text - >> >> - Show quoted text -
[jQuery] Re: JQuery and Mootools still not working
Thanks for the reply. I tried it and it still didn't work. The problem is that it is working in all browsers other than internet explorer. I don't understand why this would be. I am not getting any errors. On Nov 13, 1:19 pm, Akbar Ehsan wrote: > Try this: > > 1. Remove > jQuery.noConflict(); > from where you have placed it. > > 2. And recode your JavaScript like this: > > > > var $j = jQuery.noConflict();/*First line of JavaScript that processes. Put > No Conflict stuff in a variable*/ > > function refreshContent(section) { > $j("#section").fadeOut(" > > > > > slow", function(){ > >$j("#section").load("ajaxcontent.php?section="+section,false, > > function() { > > $j("#section").fadeIn("slow"); > >}); > > }) > > return false; > > } > > > > It worked for me. All other options had failed. > > Akbar > > On Thu, Nov 12, 2009 at 7:03 AM, Ryan Levin wrote: > > Hi, > > > I am unable to get jquery and the barackslideshow working on the same > > page. I have been struggling for hours and it is an urgent thing. I > > researched and found the noConflict and after a while realized the > > correct order to put it in for it to work. And it works great - in > > Chrome and Firefox. In I.E. the barackslideshow I have doesn't fade > > out it just jumps to the next image with no transition. Here is my > > code: > > > > > > > > > > > script> > >