[jQuery] Disable external url with AJAX
Hi, I would like to know how doesn't to allow the user to access external url with AJAX if the user edit de AJAX url<br clear="all"> Abraços Estevão Lucas
[jQuery] Selecting previous elements
Hi all, here's my situation : <ul> <li>A</li> <li>B</li> <li>C</li> <li>D</li> </ul> I've got $(this) containing the jquery object of element <li>C</li> I would like a jquery selection of previous elements and current element included, in other words I would like [A, B, C] What is the fastest way to accomplish this ? I was thinking about $(this).parent().find("li").lt(X) but X would be the index of current element (C) and I don't know how to get it. Besides, I'm sure there's a faster way I'm not
[jQuery] loading code
i load this html file into another one with the load command of jquery <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript"> function checkLogin() { var Username = $("#LoginUsername").attr('value'); var Password = $("#LoginPassword").attr('value'); $.ajax({ url:
[jQuery] Adding a Remote Script that Adds an Image (Thawte)
I'm a complete newbie to jQuery. I've been looking at and toying with it for a few weeks, but this is my first real world attempt to implement it. I have a site that uses a Thawte certification image, but the image shows up slowly at times that Thawte's server is feeling under the weather. Since I have no control over their script or their server-- and since the image's current position is mid-page--I'd like to be able to just put in a placeholder and then load it after the rest of the page is done.
[jQuery] load code?
Hello, i load code with this function function loadLoginbox(Target) { $(Target).load("index.php?m=login&c=loadLoginbox"); } function openLoginbox(Target) { loadLoginbox(Target); $.blockUI(Target, { width: '400px'}); } $(document).ready(function() { $.blockUI.defaults.pageMessage = "Bitte warten! Daten werden übertragen"; var Popupbox = $('#Popupbox')[0]; openLoginbox(Popupbox); $('#openLogoutbox').click(function() { $.blockUI(Popupbox, { width:
[jQuery] select two class elements
Hello, I would like to select elements with two class (eg: <h5 class="next open">. I tried $(".next open") but it failed. Does anyone know how to do it? Thanks in advance. Xavier
[jQuery] jQuery("<a/>") issue in 1.1.4
Hi folks, I figured out a problem in the brand new 1.1.4 version with IE 6+ wich breaks my existing code. In firefox 1.5+ everything is fine, didn't test any other browsers. I create a couple of dynamic html element with the html("some html code") function. The following codesnipplet results under 1.1.4 (IE only) in an null and under 1.1.3.1 and older in an empty a-tag. 1.1.3.1 1.1.4 jQuery("<a/>").html() JQ object JQ object jQuery("<a/>").size() 1 0 jQuery("<a/>").html() "" null jQuery("<a />").html()
[jQuery] heartbeat plugin clashing with uiblock plugin
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi it seems everytime the heartbeat plugin runs , it refreshes the current page and keeps calling the uiblock plugin<DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$(document).ready(</SPAN></FONT><FONT
[jQuery] textarea maxlenght and counter
Hi, looking for help for creating the following: 1) textarea maxlenght check. When maxlenght is reached cannot type anymore. 2) A counter digits display. Someone has already made something like this? Thanks Andrea
[jQuery] changing view of page
I was wondering if it was possible to change where the the user is looking at the screen based on where they are looking currently(basically if they are somewhere i move the scrreen view to the top based on a event)? -- View this message in context: http://www.nabble.com/changing-view-of-page-tf4371844s15494.html#a12460665 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] animate() canceling
Hi, I am altering the "top" property of a floating label in a webpage. The "top" adjustement is fired at page scroll, so that the label would always stay in its place. Now I would like to animate the label between its oldPosition and newPosition. So I use animate() to set the "top" property, but the method starts many times during the page scroll, thus creating a very buggy and slow motion. So: is there a way to cancel an already started animation, so that when "scroll", the animation is first canceled
[jQuery] Question about making a simple gallery for a portfolio
Hello, I am new to jquery and have looked at many of the existing plugins. In essence, I want to know if 1) I missed something and can modify an existing gallery plugin to suit my needs 2) Someone could point me in the right direction about writing this myself? Basically I want to have an xml file with: - Image Path - Image Caption and the Image and Caption displayed in specific divs along with prev/ next links in specific divs. Clicking prev/next, the image would be loaded by ajax and fadein with
[jQuery] IE select option event problem
I want to do something with the value of a select option element when it gets selected $('option').click(function(){ alert($(this).val()); }); Works fine in FF but not in IE6. I seached the list for a solution but i couldn't find any. Can someone help me? -- David Duymelinck ________________ david@icreate.be
[jQuery] Simple jQuery gallery - active thumbnail problem
Hi Ive created a (really) simple thumbnail gallery using jQuery. Functionality is working fine but I am having trouble getting the the active thumb to highlight. I want it so the thumb you click stays at 100% opacity and the rest fade to 50%. Ive been pulling my hair out trying to get it to work although I have a feeling is a simple solution. I tried matching the href of the clicked thumb to the current image but got weird results. Im still fairly new to JS and jQuery. Im hoping someone can help
[jQuery] Simple jQuery gallery - active thumbnail problem
Hi Ive created a (really) simple thumbnail gallery using jQuery. Functionality is working fine but I am having trouble getting the the active thumb to highlight. I want it so the thumb you click stays at 100% opacity and the rest fade to 50%. Ive been pulling my hair out trying to get it to work although I have a feeling is a simple solution. I tried matching the href of the clicked thumb to the current image but got weird results. Im still fairly new to JS and jQuery. Im hoping someone can help
[jQuery] ajaxform plugin problem about the character
hi i have problem about character.. i have a mysql database and i was try to save some datas into it by using ajaxform plugin.i use the json dataType.i try to solve this problem but i couldn't. i try to put the mysql_query("SET NAMES 'UTF8'");it doesnt solves my problem100%.when i put the this header i save the datas which in the text field are saved correctly but in textarea fields are not saved correctly. is there anybody help me ? tahnks...
[jQuery] ajaxform plugin problem about the character
hi i have problem about character.. i have a mysql database and i was try to save some datas into it by using ajaxform plugin.i use the json dataType.i try to solve this problem but i couldn't. i try to put the mysql_query("SET NAMES 'UTF8'");it doesnt solves my problem100%.when i put the this header i save the datas which in the text field are saved correctly but in textarea fields are not saved correctly. is there anybody help me ? tahnks...
[jQuery] Selecting subsequent siblings
Hi all, i have troubles with subsequent siblings selection. Provided the following code: ######################## .................. <span>foo</span> <span>foo</span> <div>first</div> <span></span> <span></span> <span>first</span> <span></span> <span></span> <div>second</div> <span></span> <span></span> <span></span> <span>second</span> <span>foo</span>
[jQuery] Using setTimeout()
Hello, I'm trying to delay the appearance of $.ajaxStart() using setTimeout() but I've been unable to get it to work. I've used it once before in something else and I'm basically just trying to copy that for $.ajaxStart(). http://www.pastebin.ca/678318 When I run that code I get "t has no properties, jquery-1.1.4-compressed.js line 11". How do I do this properly? On a related note, what would be really great is a delay option for $.ajaxStart() itself. My goal is simply to delay the appearance of
[jQuery] Equivalent to the dojo combobox
Hi everyone Does anyone know of a jquery equivalent to the dojo autocomplete combo box? Demo: http://www.sauter-online.de/dojo/demos/widget/comboBox.html Thanks Heinrich
[jQuery] interface problem with drag & drop in IE6
I'm using interface1.2 and jQuery1.4. the problem is that cloned element is not draggable in IE6, but works fine in firefox. I defined a onDrop function in Droppable. In the onDrop function I clone the draggable DOMElement, and append to the droppable DOMElement. Then this cloned element is not draggable even if I call a Draggable again. Using the IEDevToolbar, I find the cloned element has a attribute "isDraggable" with the value "-1". After calling removeAttr("isDraggable"), the element is draggable
[jQuery] Slowing callback function
I'm trying in slideUp a div then fade in another when it has completed the slide. I tried using the fadeIn as a callback function $('slidediv').slideUp('slow', function() { $('fadediv').fadeIn('slow'); }); Is there a way to delay the fade, everything happens so fast you can't really tell the new div is even there.
[jQuery] Thickbox-like faded background issue(might be OT)
I am using the same css code from the thickbox(3.1) to create a faded background however there are a few issues. The first one is in IE 7 the faded background is only covering the entire visible screen the first appears, if i scroll down the faded background is not there. The second issue it that Only in FF, when my mouse is over the faded area, i can not scroll, Opera/safari/IE7(besides its own issue) works fine. Anyone know of these issues with the thickbox faded background? -- View this message
[jQuery] $(document).ready() firing up later in 1.1.4?
Hello, I'm not sure how to trace that problem since it's happening under IE 6 and 7, but here is what is happening to me since I switched to 1.1.4: The handler registered for the $(document).ready() event is triggered only after all the embedded items on the page have been loaded. When you load a page under IE you can see the (xxx items left ....) in the status bar. If I try this page with jquery 1.1.3.1, the handler is triggered when there are still some items left. If I switch to 1.1.4, without
[jQuery] browser compatibility issue with jQuery(this).attr("href");
Hello, I wrote a script that starts like this: jQuery('/html/body//div[@class=node]//a').each(function(i){ var $hr = jQuery(this).attr("href"); .....)}; What I noticed is the following for relative (ex: href="/mypage") URLs: var $hr = this.href; //returns URL with http:// (ex: http://mysite/mypage) However: var $hr = jQuery(this).attr("href"); //returns URL with http:// (ex: http://mysite/mypage) in ie6 and actual URL (ex: /mypage) in firefox. I am confused, I really appreciate if anyone can explain
[jQuery] HTML in Ajax XML response
Is there a way to do this? I thought just placing the response in a div with html() would work, but it ignored the <br />'s.
[jQuery] events in external ajax loaded files
Hello, i have some problems:) i want to load an loginequester into my page: function loadLoginbox(Target) { $(Target).load("index.php?m=login&c=loadLoginbox"); } the loginbox is loaded but no events run.( $('#openLogoutbox').click(function() { $.blockUI(Popupbox, { width: '400px'}); }); $('#openLoginbox').click(function() { $.blockUI(Popupbox, { width: '400px'}); }); when i insert the box directly into the mainpage this events s.a. works fine:( Why?
[jQuery] document.ready in jQuery 1.1.4 - IE and FF inconsistent behavior
Hi, A number of folks have independently come across this issue. What I would like to hear from John Resig or from other team members if the change was intentional? and why? In short, what I found is that $(document).ready() behaves differently in 1.1.4 for FF and IE. In appears to me that the 1.1.4 ready() method is bound to the true windows onload event in IE. In other words, $(document).ready() will not fire until body onload event is fired. This is not the behavior in 1.1.3 under IE and/or FF.
[jQuery] $() and many objects? - architecture related
I'm little confused with the architecture of jquery. I tried to understand it with Firebug, but I'm lost as it's just showing this tree. As far as I understand, $() creates a new jQuery object. So, if we use $() many times, will it create as many objects for it? TIA -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[jQuery] Problem with jQuery .load() in IE
When clicked on link "1.stāvs"it doesn't load anything ands show error on line: 1 char: 1 error: syntax error. Could not complete operation due to error 80020101. Example page: http://saite.fyfi.net/lat/info/apskatit-kvartalu/silmalu-17/ http://saite.fyfi.net/lat/info/apskatit-kvartalu/silmalu-17/ Can somebody help me to get it working on IE? -- View this message in context: http://www.nabble.com/Problem-with-jQuery-.load%28%29-in-IE-tf4368664s15494.html#a12451711 Sent from the JQuery mailing list
[jQuery] How to use Form Plugin and ValidationAide Plugin
Hi all, I'm using Form Plugin without problem, now I need to validate the fields, in the jQuery's plugin page I've found this plug-in: http://dnaide.blogspot.com/2007/05/validationaide-easy-as-client-side-form.html My question is : There's a way to validate the field with this plugin and when all is ok ajaxForm do his works? I manage my form with this "Form Plugin" code: $(document).ready(function() { $('#f1').ajaxForm(function() { target: '#response', success: function() { $('#response').fadeIn('slow');
[jQuery] accordian and interface conflict
Hi, I am not sure if this is talked about elsewhere, but I have a problem using accordian 1.5 with the interface plugin. The problem is that when I click to open a different part of the accordian it does not show up. Following it in firebug the code jumps to the interface plugin at line 177 "complete: settings.finished". When the interface is not included it, jumps to jQuery animate. Also, I may have been a little too quick to create a bug report over at the jquery plugin site. If this is something
[jQuery] Instant Messaging Capabilities
Hi guys, Has anyone implemented an instant messaging solution using jQuery (or another technology)? If so, I'd be interested in chatting about it. This would be for a dating site and IM is extremely important for it. I've already looked at Userplane but its too pricey. Looking forward to some feedback. Rey...
[jQuery] A Newbie Question
Hello Friends, i am new to jquery and this group as this is my first post and just started to work with jquery. My question is how can we use and loading indicator while we are extracting some data from other file with load function. The code i am using is as follow :- <script type="text/JavaScript"> $(document).ready(function(){ $("#show").load("file.php") }); </script> <div id="show"></div> currently i am using simple codes to start with. Can anyone tell me how can we show the loading indicator
[jQuery] iframe + security (can be improved by jQuery/Ajax?)
Hello, Consider a blog apps like Blogger, you have a site like http://abc.blogspot.com each time, you want to leave a comment for an article, you will be redirected to another page under the blogger domain, e.g. https://www.blogger.com/comment.g..... I think one of the reason why Blogger don't embed the comment box into the user's blogspot page directly is related to security (XSS? I am not sure) my questions: 1. Will there be any securty threats if I create an iframe, and put the blogger comment
[jQuery] IE ajax bug ....
Hello , Firstable , sorry for my English ... I'm French and for me it's not simple to write this language. I have a problem with IE when I used $.ajax fonction. /* Variable global */ var idFormat=new Array(); var largeur=new Array(); var hauteur=new Array() $(document).ready( function(){ req ={}; req["action"]= "format"; $.ajax({ type: "GET", data: req, url: "BD/utilisateur.php", success: function(x){ a = x.split("<coupe>");
[jQuery] AJAX GetElementByID problem
Hi All, I'm trying to use an ajax call to call a 2nd page which uses a getElementByID to set a div's content on that page. If I just try to call the 2nd page, I get a js error that I can't run the getElementByID because it has no properties. If I change the 2nd page to be a callback function and call that via the callback function of jquery it works fine, so it sounds like an order of operations problem here. Is there anyway to allow getElementByIDs without forcing them in a callback function? Here
[jQuery] append[To] throwing and error when attempting to append to document outside of current window in Internet Explorer
If I try to create a new window via window.open, and then append to it with jQuery, I get an error: 'No such interface supported' in Internet Explorer. It works fine in Firefox. Example: http://mybdev.com/~dallas/jquery.html
[jQuery] SITE: Kohls.com
Just saw that kohls was using jquery on their site, and by using I mean including it. I could not actually see them using it anywhere, though I probably just could not find it. Anyway, there are plenty of places where they should have used it to simplify things. http://www.kohls.com/upgrade/myaccount/kohls_login.jsp
[jQuery] New css framework with helper tool ( a website builder made with jquery)
Just ran into this one, nice idea but whats cooler, the entire thing is build in jquery http://builder.yaml.de/ -- Armand Datema CTO SchwingSoft
Next Page