[jQuery] ajax xml question

2009-09-16 Thread David .Wu
This is the source code that I want to get the weather from Google API, Firefox, Safari, Opera will work, but IE can't get the value, so I did some test, and I found the reason xml structure in php page $.get({"a.php"}, '', function() {}, "html"); // all browser work besides IE $.get({"a.php"}, '

[jQuery] Re: selecting elements that match a regular expression

2009-09-16 Thread Macsig
Thanks guys lanxiazhi's solution works just fine. Have a good 1! Sig On Sep 16, 7:15 pm, Steven Black wrote: > Try James Padolsey's Regex Selector plugin for jQuery >  http://james.padolsey.com/javascript/regex-selector-for-jquery/ > > **--**  Steve > > On Sep 16, 9:34 pm, macsig wrote: >

[jQuery] Re: selecting elements that match a regular expression

2009-09-16 Thread Macsig
Thanks guys @lanxiazhi how do you implement getNum()? A simple split? Thanks again. Sig On Sep 16, 6:55 pm, lanxiazhi wrote: > Yes,you can do this. > $("[id*=wrap_]").click( >   function() >  { >     var id=$(this).attr("id"); >     var targetId="elem_"+getNum(id); >     $("#"+targetId).to

[jQuery] Re: Superfish menu problem.

2009-09-16 Thread rupak mandal
1) Remove position:relative from ".main" class constant.css (not tested). 2)To remove the back ground, remove back ground from sf-menu #current and sf-menu .active in superfish.css 3)Remove background from "menu li" class template.css. Thanks Rupak On Thu, Sep 17, 2009 at 10:24 AM, sholland

[jQuery] Re: Superfish menu problem.

2009-09-16 Thread sholland
Thank you! Thank you! I think I have almost conquered it, but a couple things left I can't seem to overcome. 1. In IE7 the dropdown menu is going behind the image. 2. I would like to turn off the background around the home button. I have searched and searched for this and cannot seem to locate

[jQuery] Multiple jcarousel textscroller instances displaying RSS

2009-09-16 Thread pdxgeek
Hello all, Quick question from a n00b... I'm trying to setup multiple jcarousel textscroller instances on one page displaying rss feeds and somehow I cannot seperate them. Despite doing what I thought was setting up unique instances, they both end up displaying the content of the second rss feed

[jQuery] Re: Error when update jquery from 1.2.4 to 1.3.2

2009-09-16 Thread Charlie Griefer
In 1.3 the @ was deprecated. see http://docs.jquery.com/Release:jQuery_1.3 under "Changes" now you just want $("form[name='adminform']").submit(); On Wed, Sep 16, 2009 at 9:03 PM, tongkienphi wrote: > > Hi every body. > > In my porject use jquery version 1.2.4, but this version can not run > C

[jQuery] Error when update jquery from 1.2.4 to 1.3.2

2009-09-16 Thread tongkienphi
Hi every body. In my porject use jquery version 1.2.4, but this version can not run Calendar app because in this app have use version 1.3.2 .. When i updated to 1.3.2 script Calendar work well but in my project have errror somewhere .. ex: on line 1642 have error from .. throw "Syntax error, unr

[jQuery] Re: jQuery PDF Viewer?

2009-09-16 Thread benji++
It seems that I've answered my own question… I realized that, as Jeffrey Kretz mentioned, I needed to rely on Flash to do the PDF rendering … it was obviously not something that Javascript would do. I found several good solutions for an online PDF viewer, my favorite being issuu.com. With the vi

[jQuery] Re: Jquery Newbie needing help..

2009-09-16 Thread Karl Swedberg
If the animations are acting on the same element(s), you can just chain them and they'll occur sequentially. Also, just to be safe, I'd make sure the image isn't currently animated before triggering the fades: $(document).ready(function() { $('img.twitter').click(function() { if (!$(t

[jQuery] Re: jQuery PDF Viewer?

2009-09-16 Thread Rodrigo Sebastián Alfonso
I have to agree with Jeffrey there. I do not think that JavasScript (i don't say I'm certain because you never know) has a way of interpreting binary data, jQuery or no jQuery. If you're familiar with reading binary data in some other language, this might help you, although I cannot say I've test

[jQuery] Re: selecting elements that match a regular expression

2009-09-16 Thread Steven Black
Try James Padolsey's Regex Selector plugin for jQuery http://james.padolsey.com/javascript/regex-selector-for-jquery/ **--** Steve On Sep 16, 9:34 pm, macsig wrote: > Hello guys, > is there a way to select elements that match a regular expression? > > I have a set of divs with id = "wrap_n" w

[jQuery] Re: (autocomplete) how to have autocomplete use dynamic data (for implementing a search engine's entry field)

2009-09-16 Thread lanxiazhi
your server routine is just a web page,wait for the browser to request.you set up the autocomplete like this: $(..).autocomplete(web_page_url,{options..}).every time when the user press a key,autocomplete will make a request to your web page,you fetch the parameter q,and you will know what the use

[jQuery] Re: (validate) temporary deactivate validate listener of fields

2009-09-16 Thread lanxiazhi
Refer to documentation. 2009/9/17 Sandler > > Hi, im loading data via json dynamical from the server. Now i try to > optimate the speed of my application and so i want to disable the > validate of the fields during the data loading from the server. > Is there a simple solution to this? like vali

[jQuery] Re: selecting elements that match a regular expression

2009-09-16 Thread lanxiazhi
Yes,you can do this. $("[id*=wrap_]").click( function() { var id=$(this).attr("id"); var targetId="elem_"+getNum(id); $("#"+targetId).toggle(); } ); 2009/9/17 macsig > > Hello guys, > is there a way to select elements that match a regular expression? > > I have a set of divs with

[jQuery] Re: Troubles with appending page title and url to social link

2009-09-16 Thread lanxiazhi
You may add these tow lines before set the attr: var url=document.URL; var title=document.title; besides,URL and title is not properties of the window object,you cannot refer to them directly. 2009/9/17 amuhlou > > where are the title and url variables coming from? > > > On Sep 16, 9:05 pm, Jac

[jQuery] Re: Troubles with appending page title and url to social link

2009-09-16 Thread amuhlou
where are the title and url variables coming from? On Sep 16, 9:05 pm, Jacques wrote: > Hi everyone I am trying to append the full page url and contents of > the title tag to some social bookmarking links I have the code below > but it does not seem to be working can anyone see what I am doing

[jQuery] selecting elements that match a regular expression

2009-09-16 Thread macsig
Hello guys, is there a way to select elements that match a regular expression? I have a set of divs with id = "wrap_n" where n is a progressive and I need to select them and for each 1 I have to add a function that togggle the "elem_n" div. Thanks Sig

[jQuery] Re: Jquery Newbie needing help..

2009-09-16 Thread amuhlou
A couple things.. 1. The click function can't be used to fadeIn the image again... because you wouldn't be able to click on it when it's hidden 2. Do you want a single click to cause the fadeOut-fadeIn-fadeOut- fadeIn? If so, you could use the callback functions of the fadeIn and fadeOut transit

[jQuery] Re: From adult google group.

2009-09-16 Thread Karl Swedberg
On Sep 16, 2009, at 3:37 PM, moiramethot45250 wrote: For jquery-en group members. HD tube adult movies. Sorted by rating of millions users... Sorry that one slipped through. User is now banned. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] (validate) temporary deactivate validate listener of fields

2009-09-16 Thread Sandler
Hi, im loading data via json dynamical from the server. Now i try to optimate the speed of my application and so i want to disable the validate of the fields during the data loading from the server. Is there a simple solution to this? like validate = false Thanks a lot and greets from austria! Sa

[jQuery] Jquery Newbie needing help..

2009-09-16 Thread Galaxy Man
Hi guys.. this is the first time I use Jquery Directly & with my hands purely.. I wrote this code: $("img.twitter").click(function(){ $("img.twitter").fadeOut("fast"); }); $("img.twitter").click(function(){ $("img.twitter").fadeIn("fast"); }); $("img.twitter").click(function(){ $("img.twitter

[jQuery] (autocomplete) how to have autocomplete use dynamic data (for implementing a search engine's entry field)

2009-09-16 Thread Mike Wertheim
I'm looking into using the autocomplete plugin from http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/. The provided examples all use static data. What I want to do is to mimic the behavior that search engines (like Google, Yahoo, Bing, etc.) use for the auto-complete on their entry

[jQuery] The PHP connector used in this demo has been modified to prevent access to folders below the demo directory.

2009-09-16 Thread mbs400
About six weeks ago while I still had Leopard on my machine, I created a jquery page that accesses the Zend php classes: private $_lib_path = "/usr/local/zend/share/ZendFramework/library/" ; The webpage calling jquery lives in "/Library/WebServer/Documents" and it calls classes within $_lib_path

[jQuery] Re: jQuery PDF Viewer?

2009-09-16 Thread Jeffrey Kretz
Are you trying to have the browser render a PDF document WITHOUT the client having the PDF reader installed? It seems to me you would need to rely on some sort of server-side technology that would convert the PDF document into straight HTML or perhaps a SWF. JK -Original Message- From:

[jQuery] Re: Radio buttons, element retrieval, pre-validation, pre-submission

2009-09-16 Thread ShrimpWagon
I addressed the Radio buttons and the element retrieval issue by lessening the restrictions you put on the prototype.elements function: [code] elements: function() { var validator = this, rulesCache = {}; // select all valid inputs inside the form (no submit or reset buttons) // workaround $Quer

[jQuery] Re: (validate), submitHandler and custom function

2009-09-16 Thread bgumbiker
Any Idea? thanks On Sep 15, 12:17 pm, bgumbiker wrote: > Indeed the message is sent with $.post(...) however it looks like the > following code is not called: > > jQuery.ajaxSetup({ >   'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/ > javascript")} > > }); > > and the server

[jQuery] Re: AJAX: Display raw XML Document

2009-09-16 Thread Jonathan
That did it. I was using success which did not provide access to the xml as a string I could output, but complete works great. Thanks! Now I cane easily get the text, the HTTP Response code. On Sep 16, 1:32 pm, Mike Alsup wrote: > > I still can't find a solution to simply print out the XML respo

[jQuery] Re: jQuery PDF Viewer?

2009-09-16 Thread benji++
On Sep 16, 5:21 am, Geert Baven wrote: >  Bumpbox works in all modern browsers. based on mootools > Here's a list in which browsers it has been successfully tested: > >    - *Firefox 3 - 3.5* >    - *Internet Explorer 6 | 7 | 8* >    - *Google Chrome* >    - *Apple Safari 3 | 4* >    - *Opera 9.0

[jQuery] Re: jQuery PDF Viewer?

2009-09-16 Thread benji++
On Sep 16, 3:54 am, Sam Sherlock wrote: > I have'nt tried this but it does look goodhttp://pdfobject.com/ > - S Thanks, Sam, but that one works the same as Alsup's mentioned above. If your browser doesn't have the Adobe Reader plugin, then it just gives you a message saying you don't have PDF su

[jQuery] Re: [validate] Custom functions onfocusin / -out

2009-09-16 Thread Jörn Zaefferer
You could also just bind focus and blur events to each element for the same effect, without requiring a change to the plugin code. Jörn On Wed, Sep 16, 2009 at 11:32 PM, Philipp wrote: > > Hi! > > I added a nice little tweak which allows me to define custom functions > called on (un) focussing

[jQuery] Re: ANN "eyedropper" color picker plugin

2009-09-16 Thread Scott Trudeau
This wouldn't be too difficult to turn into a greasemonkey script. It wouldn't work for images that are hosted from a domain other than the parent page, however, which is a frequent case; Firefox will throw canvas security exceptions for every img element not in the domain if you do $('img').dropp

[jQuery] Re: Page load question

2009-09-16 Thread the intern
Never mind, a seem to have figured it out Here is the code that I used to do this $(document).ready(function(){ e = $('[id$=_y]'); for (i = 0; i < e.length; i++) if (e[i].checked == true) { $('#' + ($(e[i]).attr('id').charA

[jQuery] [validate] Custom functions onfocusin / -out

2009-09-16 Thread Philipp
Hi! I added a nice little tweak which allows me to define custom functions called on (un) focussing a form element: jquery.validate.js got three additional lines at the end of onfocusin function (line 200): if (this.settings.focusFunction) {

[jQuery] Re: ANN "eyedropper" color picker plugin

2009-09-16 Thread Jack Killpatrick
great, thanks. This would be really handy as a greasemonkey script. I use a FF plugin that does the eyedropper thing a lot (during design work), but it has it's shortcomings. If a greasemonkey script gave me the eyedropper and a box with the sampled color and hex value, that'd be rad. - Jack

[jQuery] Re: Superfish and IE8 - drop-down menus "flashing" down on page load

2009-09-16 Thread Ralph Whitbeck
It seems like the submenu UL is being hidden on load via the javascript. Can you set the CSS to display:none and that should make it load without showing the submenu. Ralph On Wed, Sep 16, 2009 at 2:37 PM, graykiwi wrote: > > I have successfully installed superfish-powered drop-down menus in my

[jQuery] Re: ANN "eyedropper" color picker plugin

2009-09-16 Thread Jack Killpatrick
Sounds cool, consider this some clamor for a live demo :-) Thanks, Jack Scott Trudeau wrote: [cross posted from the plugin list, which seems to have died in February] Hey folks, I've been absent from the jquery lists for quite awhile, but just recently had the opportunity to build a cool lit

[jQuery] Re: this.reset() doesn't work

2009-09-16 Thread KeeganWatkins
@Dhruva- >> It should be $(this).reset(); That won't work. Note that reset() is a method that is available on raw form elements in the DOM, but not on a jQuery-wrapped set. // Example for Firebug console.log(jQuery.fn.reset) // undefined @pritisolanki - You can't expect the selector engine (or

[jQuery] Re: Ajax

2009-09-16 Thread Matthew Rolph
thanks!! i also added a extra link to show both, id selectors for the tag On Tue, Sep 15, 2009 at 9:02 PM, Steven Yang wrote: > your first link works find > the second one doesnt work because you have the wrong id on your > and the id is the same as your > > > > > On Tue, Sep 15, 2009 at 7:05

[jQuery] Error using jCarousel on IE 8

2009-09-16 Thread Mythic Web Design
I'm having some trouble getting the jCarousel plugin to work under IE 8. On this site: http://dev.kandeart.com/ I get this error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/ 4.0; Tablet PC 1.7; .NET CLR 1.0.3705; InfoPath.2) Timestamp: Wed, 16

[jQuery] Re: Attaching methods to identical forms, but only invoking the method on the current form

2009-09-16 Thread Stephen
Hi Mike, Ah, the "this" object! I forgot about that. Thank you for code snippet! --Stephen On Sep 16, 3:38 pm, Mike Alsup wrote: > > I have a form that is repeated through out the page by the backend, > > which I have no control over. > > > > > > Cancel > > > > > I want to attach an event

[jQuery] facebox over iframe

2009-09-16 Thread l_kris06
Hi all, I have a couple of iframes and one of them trigger facebox, and its opened within the iframe, I want it to open on the parent window. any help would be great.

[jQuery] Re: jquery validate and datepicker.

2009-09-16 Thread Williamk
Thanks Karl. I will direct any ui questions to the UI group from now on. That said, I appreciate your help. :) Kind regards, William On Sep 14, 11:04 am, Karl Swedberg wrote: > Hi, > > Sorry you haven't received a response yet. Usually Jörn picks up   > questions about the validate picker, bu

[jQuery] Re: [validate] Help with errorPlacement

2009-09-16 Thread Loony2nz
o...duh :) i have to keep in mind that I have to traverse the DOM tree Thanks :) On Sep 16, 12:19 pm, Jörn Zaefferer wrote: > You need to go up one more level: > > errorPlacement: function(error, element){ >   error.appendTo( element.parent().parent().next().find(".errorMsg") ); > > } > >

[jQuery] Re: Attaching methods to identical forms, but only invoking the method on the current form

2009-09-16 Thread Mike Alsup
> I have a form that is repeated through out the page by the backend, > which I have no control over. > > > Cancel > > > I want to attach an event to the link to clear the textarea. > $(".comment_form_cancel").live("click", function(event) { >         $(".your_comment").val(''); >         event

[jQuery] From adult google group.

2009-09-16 Thread moiramethot45250
For jquery-en group members. HD tube adult movies. Sorted by rating of millions users http://www.2watch4.com/redsdkp/includes/db/www/

[jQuery] Re: [validate] Help with errorPlacement

2009-09-16 Thread Jörn Zaefferer
You need to go up one more level: errorPlacement: function(error, element){ error.appendTo( element.parent().parent().next().find(".errorMsg") ); } Jörn On Wed, Sep 16, 2009 at 8:18 PM, Loony2nz wrote: > > Hello, > > I need help with targeting a class on a TD to hold error messages with > jQ

[jQuery] Re: AJAX: Display raw XML Document

2009-09-16 Thread Mike Alsup
> I still can't find a solution to simply print out the XML response > from an AJAX call. I'm surprised jQuery can't handle something that > simple, as it can otherwise do so much. > > The other js libraries don't seem to have a problem with it, it looks > like jQuery just isn't up to the task, an

[jQuery] Attaching methods to identical forms, but only invoking the method on the current form

2009-09-16 Thread Stephen
Hi, I have a form that is repeated through out the page by the backend, which I have no control over. Cancel I want to attach an event to the link to clear the textarea. $(".comment_form_cancel").live("click", function(event) { $(".your_comment").val(''); event.preventDefault()

[jQuery] Superfish and IE8 - drop-down menus "flashing" down on page load

2009-09-16 Thread graykiwi
I have successfully installed superfish-powered drop-down menus in my horizontal nav bar, but I get an irritating (and inconsistent) issue when I click on a nav link: the drop-down menus briefly "flash" down as the new page loads. In fact the page as a whole flashes. This behavior only occurs in I

[jQuery] Re: AJAX: Display raw XML Document

2009-09-16 Thread Knight, Doug
Just my two cents, I have to agree, it would be nice to be able to at a minimum dump the actual XML from the Ajax call. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jonathan Sent: Wednesday, September 16, 2009 1:33 PM To: jQuery (E

[jQuery] Re: keeping table header fix

2009-09-16 Thread Macsig
Yes, I do but I don't see how that can help me out. Thanks On Sep 16, 4:01 am, Liam Byrne wrote: > do you actually have the headers in a , with the content in ? > > Most people forget about those. > > L > > > > macsig wrote: > > Hello guys, > > I'd like to know if there is a way to keep a tabl

[jQuery] Re: Browser Stop call's ajax.Error

2009-09-16 Thread nirazue...@gmail.com
Thank you. Can you think up with a solution to this? How can I "detect" when the call is begin terminated? On Sep 14, 5:32 pm, MiKiTiE wrote: > Probably because you're sending the data to the url, but stopping the > process before it can produce a result. > > On Sep 13, 7:52 pm, "nirazue...@gmai

[jQuery] Re: ANN "eyedropper" color picker plugin

2009-09-16 Thread Scott Trudeau
Since github seems to be suffering from a DoS attack, I posted a demo here: http://sstrudeau.com/jquery-dropper/demo/index.html Scott On Wed, Sep 16, 2009 at 12:47 PM, Scott Trudeau wrote: > > [cross posted from the plugin list, which seems to have died in > February] > > Hey folks, > > I've be

[jQuery] [validate] Help with errorPlacement

2009-09-16 Thread Loony2nz
Hello, I need help with targeting a class on a TD to hold error messages with jQuery form validator plug-in. This is my sampling of code: < script> errorPlacement: function(error, element){ error.appendTo( element.parent().next()); } First Name* I want to ta

[jQuery] Re: How to check is element "droppable"

2009-09-16 Thread Boris Trivic
thanks a lot, that's answer. Best regards! On Sep 16, 7:29 pm, "Richard D. Worth" wrote: > var isDroppable = $("#first").is(".ui-droppable"); // boolean > > or > > var droppables = $("div").filter(".ui-droppable"); // collection > > Also note, there's a separate list for jQuery UI questions, sh

[jQuery] Re: AJAX: Display raw XML Document

2009-09-16 Thread Jonathan
I still can't find a solution to simply print out the XML response from an AJAX call. I'm surprised jQuery can't handle something that simple, as it can otherwise do so much. The other js libraries don't seem to have a problem with it, it looks like jQuery just isn't up to the task, and I can't u

[jQuery] Re: How to check is element "droppable"

2009-09-16 Thread Richard D. Worth
var isDroppable = $("#first").is(".ui-droppable"); // boolean or var droppables = $("div").filter(".ui-droppable"); // collection Also note, there's a separate list for jQuery UI questions, should you have any more: http://groups.google.com/group/jquery-ui - Richard On Wed, Sep 16, 2009 at 1:

[jQuery] ClueTip problem on initially hidden fields

2009-09-16 Thread Sarah B.
I am using the clueTip plugin to show help hovers on my application. It works like a charm, except when I have initially hidden fields on the page. For example, several fields default to style="display:none;" and then when an onchange event occurs on a dropdown, these fields are shown. When you

[jQuery] jCarousel 0.2.3 hangs IE7 on window resize event

2009-09-16 Thread Malic
I've discovered that http://sorgalla.com/jcarousel/ will hang IE7 (but not IE8) when the this.funcResize handler (bound to window.onresize) is called. The setup for this is in init around line 226: $(window).unbind('resize', this.funcResize).bind('resize', this.funcResize); What happens is that

[jQuery] Re: JQUERY listnav: includeAll Parameter translation

2009-09-16 Thread Jack Killpatrick
I like that, will definitely consider it for the next rev. If you want to change it in the version you have, look for this: >ALL< and change it to whatever you want: >Alle< Thx, Jack mansoft wrote: It would be nice, if the "includeAll" parameter could be changed or extended to work like t

[jQuery] Re: How to check is element "droppable"

2009-09-16 Thread Boris Trivic
yes I'm using jQuery droppable. I am trying to check if some element is droppable. Example: /// code: $("#first").droppable(); ... ... /// end code now I need to check both divs (first and second) and find out which is droppable. In this example: script must write: "div 'first' i

[jQuery] Re: Page load question

2009-09-16 Thread the intern
Here is my jQuery: $(document).ready(function(){ $('[id$=_questions],[id$=_questionsLink]').hide(); $('[id$=_y]').bind('click',function(){ var thiis = $(this).attr('id').charAt(1); $('#'+thiis+'_questions').show(); $('#'+thiis+'_questio

[jQuery] Re: New to JQuery

2009-09-16 Thread Emeka
Kumaran and Whitbeck, Thanks so much! Regards, Emeka On Wed, Sep 16, 2009 at 3:13 PM, Ralph Whitbeck wrote: > The Learning jQuery book is also another great book. > > Also take a look at http://learningjquery.com and > http://15daysofjquery.com/ is a great site to get started. > > Also you can

[jQuery] ANN "eyedropper" color picker plugin

2009-09-16 Thread Scott Trudeau
[cross posted from the plugin list, which seems to have died in February] Hey folks, I've been absent from the jquery lists for quite awhile, but just recently had the opportunity to build a cool little plugin for a project I'm working on so I decided to release it to the public. This plugin ac

[jQuery] Re: "Object doesn't support this property or method" in IE

2009-09-16 Thread knox203
Forget it, looks like it's working now with both of your replies, you guys rock! Ricardo, your code removed the java error in IE, thanks. Rupak, I went back and added tags to my source file, and sure enough, IE is now returning the data like it's supposed to! Thanks again guys, - Adam On Sep

[jQuery] Re: "Object doesn't support this property or method" in IE

2009-09-16 Thread knox203
Thanks Ricardo, your first revised block of code took away the error message in Internet Explorer. Doesn't look like the second block returned any of my data. I'm in the process of learning jQuery, so it's better that I play around with it anyways =) I'm still having a problem getting the data t

[jQuery] Quick announcement about CFJS for jQuery

2009-09-16 Thread Chris Jordan
Hi folks, I just wanted to drop a quick note letting everyone know that I've committed cfjs 1.1.10 to the repository on riaforge.org (http:// svn.riaforge.org/cfjs/). This new version includes HTMLCodeFormat() and HTMLEditFormat(). I'll be working on NumberFormat() soon as well as a short list of

[jQuery] Re: Simple Modal Height and Width

2009-09-16 Thread Eric Martin
As long as the content being used in the modal has a height and width supplied, SimpleModal will use those values to size the dialog. For example, using the basic demo as a base and given the following: CSS: #simplemodal-overlay {background-color:#000; cursor:wait;} #simplemodal-container {colo

[jQuery] Re: [asmselect] "Remove" link links to the main page

2009-09-16 Thread Liam Byrne
You say you "click the remove link". What is the code / href of the remove link, and do you have a "return false" on the jQuery code to prevent that link being followed ? $(document).ready(function() { $("#removeLink").click(function() { // do whatever the link should do return false; //

[jQuery] Re: $(this).css({"color" : "red"})

2009-09-16 Thread Liam Byrne
Try $(this).css({color:"#FF"}); Matt wrote: see that code in the subj.? i'm using FF 3.5, and no matter what i do, .css won't work!! any help? No virus found in this incoming message. Checked by AVG - www.avg.com Ve

[jQuery] Re: why getJSON in firefox takes longer than in other browses?

2009-09-16 Thread Michael Geary
You have Firebug, right? And is this a fairly large JSON object? Disable Firebug and see what happens. If it goes at more the speed you expected, then the problem is the use of eval() in the current version of jQuery, which slows down badly with Firebug. This is fixed in the next release (it uses

[jQuery] Re: SimpleModal Contact Form and Sidebar

2009-09-16 Thread Eric Martin
Trent, I'm not quite sure what you are asking. Could you clarify your question? Thanks, Eric On Sep 12, 7:48 am, Trent <26g...@gmail.com> wrote: > How can I embedSimpleModalContact > Formhttp://www.ericmmartin.com/projects/simplemodal/ > in the sidebar, whose position is fixed on the scrolling

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-16 Thread Eric Martin
The problem is that you are including the basic.js file from my site, which is causing a conflict. Remove that script and use the following code: $(document).ready(function() { $('#basic-modal input.basic, #basic-modal a.basic').click(function (e) { e.preventDefault();

[jQuery] Re: How to wait until the DOM has been updated by a jquery "load" before executing subsequent JavaScript?

2009-09-16 Thread alexryan
That was it. Thank you Mike.

[jQuery] jqzoom and IE

2009-09-16 Thread IfTrueElseFalse
If on this product page - http://www.shanghaitattoo.com/magento/jingpingshuiyi/c2001 - and you click on the second or third thumbnail, while using IE 6 or 7, the zoom function breaks. I think when you view the error in IE7 you can understand a little better what's going wrong. But to tell the tru

[jQuery] Re: New to JQuery

2009-09-16 Thread Ralph Whitbeck
The Learning jQuery book is also another great book. Also take a look at http://learningjquery.com and http://15daysofjquery.com/is a great site to get started. Also you can post your questions to the group here and we'll help you out. Good Luck Ralph On Wed, Sep 16, 2009 at 10:50 AM, Anantha K

[jQuery] Re: How to wait until the DOM has been updated by a jquery "load" before executing subsequent JavaScript?

2009-09-16 Thread Mike McNally
You're calling the function "attachEventHandlers" instead of passing a reference to the function. Take the () off. On Wed, Sep 16, 2009 at 9:55 AM, alexryan wrote: > > Newbie question: > > I'm using JQuery's load function to update a portion of my page with > new content. > This works okay but

[jQuery] How to wait until the DOM has been updated by a jquery "load" before executing subsequent JavaScript?

2009-09-16 Thread alexryan
Newbie question: I'm using JQuery's load function to update a portion of my page with new content. This works okay but I would also like to attach event handlers to the newly loaded content after it is loaded. There is probably a best practice approach to doing so but I am not aware of it. If som

[jQuery] Re: javascript

2009-09-16 Thread Mike Alsup
> i don't know why this is not working but the later is working well > please tell me what is wrong with this > > // not working > SocialSite.Home.UserInfo = > { >    options : { >        beforeSubmit: this.friendRequest, >         success:  this.friendResponse >    }, >     friendRequest : functi

[jQuery] Re: New to JQuery

2009-09-16 Thread Anantha Kumaran
Read jQuery in Action to get Started and then read the api doc to master it On Wed, Sep 16, 2009 at 6:13 PM, Emeka wrote: > Hello All, > > I am new here and I would need your support in order to get started. > Where can I get tutorials and wikibooks on JQuer

[jQuery] javascript

2009-09-16 Thread Anantha Kumaran
hi i am new to javascript language i written a script and it works fine and i modified it a bit and it is not working . i don't know why this is not working but the later is working well please tell me what is wrong with this // not working SocialSite.Home.UserInfo = { options : { befo

[jQuery] why getJSON in firefox takes longer than in other browses?

2009-09-16 Thread PanMarcepan
Hello I'm using jQuery and asp.net. jQuery using getJSON calls specific handler, lets say MyHandler.ashx $.getJSON(/MyHandler.ashx?param1=someVal, function(data) { ... some code; } In Opera and Explorer this is executed immediately. In FireFox it takes over 1s before request is executed. Even wh

[jQuery] Re: JQuery Cycle Plugin Random Timeout

2009-09-16 Thread Mike Alsup
> Given that, how would you allocate a timeout for say the first 3 > slides and then have the other slides all running at the default > timeout? Keep a counter and reference/update it in the timeoutFn. After 3 calls to the timeoutFn, return false thereafter.

[jQuery] Loading content from a url inside of a div to the actual div

2009-09-16 Thread Mogui
First let me explain my situation im trying to place dynamic content into a sharepoint wiki site, which does not allow for direct javascript to be entered in. In order to do this im seting a . I would like to use that simple format for multiple div's eg: What i have so far is: http://ajax.goog

[jQuery] New to JQuery

2009-09-16 Thread Emeka
Hello All, I am new here and I would need your support in order to get started. Where can I get tutorials and wikibooks on JQuery? Also recommend books. Regards, Emeka

[jQuery] Re: [ajax] Form submits, success message displayed but no data seems to be passed to php file

2009-09-16 Thread HairyJim
SOLVED! Damn it, bloomin' windows and its file based permissions. So I tried all sorts to get this working looking at examples etc and nothing was working. Out of complete curiosity I went to go look at the jquery.form.js file and I couldn;t ruddy read it because I did not have the corrcet priv's

[jQuery] Re: Loop over all input elements in form

2009-09-16 Thread Dhruva Sagar
Alertnatively just for your reference these are also some ways to get what you desire : $('form').each(function(){ $(this).children('input').each(function(){ alert(this.name); alert($(this).val()); }) }); Thanks & Regards, Dhruva Sagar. Samuel Goldwyn

[jQuery] Re: Loop over all input elements in form

2009-09-16 Thread Dhruva Sagar
This should help : $('form > input').each(function() { alert(this.name); alert($(this).val()); }); Thanks & Regards, Dhruva Sagar. Jonathan Swift - "May you live every day of your life." On Wed, Sep 16, 2009 at 3:26 PM, pr

[jQuery] Re: this.reset() doesn't work

2009-09-16 Thread Dhruva Sagar
It should be $(this).reset(); But since your using an id in the selector, that will reset only the particular form you want. If you wish to reset all the forms in the page you should do something similar to this : $('form').each(function(){ $(this).reset(); }); You should of course put this pi

[jQuery] Re: serializeArray() only for enabled form elements

2009-09-16 Thread Karl Swedberg
Hi there, this is intentional. only "successful" controls, as defined by the W3C, are serialized. For your reference (emphasis mine): A successful control is "valid" for submission. Every successful control has its control name paired with its current value as part of the submitted form da

[jQuery] Re: How to check is element "droppable"

2009-09-16 Thread Richard D. Worth
It's not clear. Are you trying to use an element with a tag name of 'droppable'? Are you using jQuery UI Droppable? - Richard On Tue, Sep 15, 2009 at 2:36 PM, Boris Trivic wrote: > > if question isn't clear, I can explain better :) > > On Sep 15, 7:33 pm, Boris Trivic wrote: > > Hi. > > > > How

[jQuery] Re: jQuery PDF Viewer?

2009-09-16 Thread Mike McNally
On Wed, Sep 16, 2009 at 7:21 AM, Geert Baven wrote: >  Bumpbox works in all modern browsers not if you're running Linux it doesn't. -- Turtle, turtle, on the ground, Pink and shiny, turn around.

[jQuery] serializeArray() only for enabled form elements

2009-09-16 Thread nowotny
Hello. I noticed that serializeArray() method does only include those elements that does not have the 'disabled' attribute... I wonder if it's intentional or am I doing something wrong...? -- nowotny

[jQuery] Loop over all input elements in form

2009-09-16 Thread pritisolanki
Hi All, I tried $("form").each(function() { alert(this.name); alert($("input").val()); }); in following HTML Form 1 Form 2 Form 3

[jQuery] JQUERY listnav: includeAll Parameter translation

2009-09-16 Thread mansoft
It would be nice, if the "includeAll" parameter could be changed or extended to work like the "noMatchText": Instead of true or false it should be empty or the text for the link i.e "All", "Alle", "tous", "todos"

[jQuery] this.reset() doesn't work

2009-09-16 Thread pritisolanki
Hi, I am trying to reset all the form element but it is not working can someone suggest the reason. http://www.w3.org/1999/xhtml";> jQuery Starterkit