[jQuery] Re: ajaxError, global vs local event

2009-03-04 Thread .png
I ended up setting up a local ajaxError callback that puts the "textStatus" property to the settings object: 'error': function(request, textStatus) { this.textStatus = textStatus; }, this way allows me to use that property into the global ajaxError callback. I will investigate further on this i

[jQuery] Re: OnMouseDown = create draggable, OnMouseUp = create droppable

2009-03-04 Thread delphilynx
Anyone that can read it and point me to the right direction?

[jQuery] Re: How to use anchor text as title attribute?

2009-03-04 Thread Klaus Hartl
> $('a').attr('title' , function() { $(this).text() } ); > > I must be missing something simple here. Yes, a return statement. $('a').attr('title' , function() { return $(this).text(); }); --Klaus

[jQuery] [autocomplete]Error: $("#suggest1").autocomplete is not a function

2009-03-04 Thread efet
$().ready(function() { var data = [ {QUERY: $("#QUERY").val(), url:'test.asp? Process=CheckCustomer'} ]; $("#suggest1").autocomplete(data); }); Test... Data needs to be taken as: test.asp?Process=CheckCustomer&QUER

[jQuery] Re: how to add callback in the $.ajax ?

2009-03-04 Thread David Muir
$.ajax doesn't return the response, and can't because AJAX is asyncronous. That's why you've got callbacks that execute once you've got a response. for what you're doing, just use: $.post("/goods/detail/","id="+id, function(json){ //do something useful with the data updateGoodsDetails(js

[jQuery] Re: how to add callback in the $.ajax ?

2009-03-04 Thread Charles Liu
try to track down the json data,so you can: 1.alert(data); before return (if it doesn't work see the following) 2.change the POST method to GET from the server side and then input all paras into browser and see what will you get.(if it doesn't work see the following) 3.track down something from the

[jQuery] Re: how to add callback in the $.ajax ?

2009-03-04 Thread David Muir
Because you're returning your data to $.ajax, which isn't expecting anything to be returned from the callback. Just use the success callback to do what you want with the result. David Adwin Wijaya wrote: nope, i want to return as json. price was there because i was logging into console. ju

[jQuery] Re: how to add callback in the $.ajax ?

2009-03-04 Thread Adwin Wijaya
nope, i want to return as json. price was there because i was logging into console. just for debugging :) and i will do the calculation after it return the value. I tried using async:false and the result still undefined function getGoodsDetail(id){ $.ajax({ type: "POST", u

[jQuery] Re: missing ; before statement

2009-03-04 Thread brian
$("#toc").change (function () { There's a space after "change". Maybe that's it? On Wed, Mar 4, 2009 at 8:36 PM, sanguisdex wrote: > > I worked and begged on IRC all do to get this code: > > >        $(document).ready(function(){ >                $.fn.addTocHandler = function ( ) { >          

[jQuery] Re: missing ; before statement

2009-03-04 Thread Michael Geary
JOsh, do you have an editor that checks JavaScript syntax in real time? That makes it much easier to track down problems like this. If you don't have one, go here and get Komodo Edit: http://www.activestate.com/komodo_edit/ Load your script into Komodo Edit and you should see a squiggly red unde

[jQuery] Re: jquery .data() not sure if I'm using this properly

2009-03-04 Thread James
You're setting the data on ul#otherLogin, but you're retrieving it on div#otherLogin. On Mar 4, 4:53 pm, pedalpete wrote: > I'm trying to figure out how to set and retrieve data without putting > it into a class, element, or anything else visible, and in the dom. > > My site is integrating Faceb

[jQuery] Re: [jQuery Sifr Plugin]

2009-03-04 Thread MauiMan2
I too couldn't get it to work with 1.3.

[jQuery] jquery .data() not sure if I'm using this properly

2009-03-04 Thread pedalpete
I'm trying to figure out how to set and retrieve data without putting it into a class, element, or anything else visible, and in the dom. My site is integrating Facebook connect, and sometimes if a user hasn't logged in, I bring them to the login, but I'm trying to remember what function would ha

[jQuery] Re: html data in IE

2009-03-04 Thread pedalpete
I can't display the 'issue' as i've rewritten the page to get rid of the errors. I'm just not sure if the way I have gone about fixing it is a bad move. On Mar 4, 10:29 am, James wrote: > Can you put up a demo page that displays this issue? > > On Mar 3, 6:15 pm,pedalpete wrote: > > > I've bee

[jQuery] missing ; before statement

2009-03-04 Thread sanguisdex
I worked and begged on IRC all do to get this code: $(document).ready(function(){ $.fn.addTocHandler = function ( ) { $("#toc").change (function () { $("#book").load("/beta/catalog/extras/class_data.php? products_id

[jQuery] Javascript search library

2009-03-04 Thread Khai
I have a collection of DIVs (or a JSON array). Is there a javascript library that can search through a JSON array and return a collection of matched elements, and support advanced search with boolean operator? Thanks Khai

[jQuery] Re: Exception errors when using validation rules

2009-03-04 Thread wwor...@gmail.com
problem solved Jörn has a new version 1.5.1 of jquery.validate.js So for anyone who stumbles upon this you CANNOT run jquery.validate.js $Id: jquery.validate.js 5952 2008-11-25 19:12:30Z with jQuery 1.2.6 $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $ $Rev: 5685 $ you MUST upgrade to th

[jQuery] Re: how to add callback in the $.ajax ?

2009-03-04 Thread James
But does it work with async set to false? The code should work correctly if you have async set to false. However, you cannot do this (return the JSON from the function) properly without that setting set to false. By the way, is it suppose to be: result = price; ? I don't see what you're doing wit

[jQuery] Re: how to add callback in the $.ajax ?

2009-03-04 Thread Charles Liu
hi Adwin, it is "undefined" because it runs before ajax is finished. maybe you should try to move "return result" next to the position of "result = data" let me know if it works Charles 2009/3/5 Adwin Wijaya > > Hi, > > can i have callback function on the $.ajax ? > I don't want to use async s

[jQuery] how to add callback in the $.ajax ?

2009-03-04 Thread Adwin Wijaya
Hi, can i have callback function on the $.ajax ? I don't want to use async since it will block the browser ... so can i use callback instead ? I would like to have function that return json like this function getGoodsDetail(id,member){ var result ; $.ajax({ type: "POST", u

[jQuery] jquery validation with added method

2009-03-04 Thread dailo
i've added this to the top of my page jQuery.validator.addMethod("pCode", function(value) { // Addon method for validating postal codes. Valid formats are (X1X 1X1) or (X1X1X1) or (X1X-1X1). return value.match(/^[a-zA-Z][0-9][a-zA-Z](-| )?[0-9][a-zA-Z] [0-9]$/);

[jQuery] Re: nothing working in ie

2009-03-04 Thread James
I've noticed you're using defer on all the scripts. Don't. Especially not on jQuery related scripts. You should just remove the defer on all of the script tags. On Mar 4, 3:03 pm, James wrote: > In your script tag, try using defer="defer" instead of just defer. Or > try just removing the defer a

[jQuery] Re: nothing working in ie

2009-03-04 Thread James
In your script tag, try using defer="defer" instead of just defer. Or try just removing the defer altogether and see what happens. On Mar 4, 2:26 pm, annam wrote: > tried it, didnt really find anything. also installed companion.js , > which also found an error in my document.ready line.. > so i

[jQuery] Events on parent window

2009-03-04 Thread Alwin Pacheco
Hi All, I've been using an iframe to create a 'selector' (a kind of a select with a filter in it) and have been trying to fire an event (change) to update the input status. This is the code when I select an option: $('table tbody tr') .click(function() { var area

[jQuery] Re: 2 tables with same td width

2009-03-04 Thread MorningZ
CSS doesn't help when you have no idea how wide a cell will be until you fill it with data On Mar 4, 5:12 pm, donb wrote: > Is thre some reason you can't do it with simple CSS directives? > Define a Class for each as appropriate and use the same class in > the td of both tables. No jQuery or j

[jQuery] Re: How do I translate this in jQuery?

2009-03-04 Thread unwiredbrain
2009/3/5 Rick Faircloth : > That works great!  Simple and efficient. > Thanks for the code. Glad to know that, you're welcome man. > The part you put together below was the final step of taking > data returned from component method in ColdFusion to the calling > page and displaying it on the cal

[jQuery] Re: nothing working in ie

2009-03-04 Thread annam
tried it, didnt really find anything. also installed companion.js , which also found an error in my document.ready line.. so i removed all the code from within the document.ready function but the error is still there! this is the code i kept: $(document).ready(function() { }); the companion.

[jQuery] Re: blockUI 2.14 - timeout option not cancelled

2009-03-04 Thread Mike Alsup
> > var timeout = 12; > > $.blockUI({ message: null, timeout: timeout }); > > > At a later point of time we can explicitly unblock by calling: > > $.unblockUI(); > > > Unfortunately it seems that subsequent blocks can be unblocked by the > > original timeout (unblock is *always* called 2 minut

[jQuery] Re: [Cluetip] Anchor text as title

2009-03-04 Thread Karl Swedberg
On Mar 4, 2009, at 8:32 AM, Jonny Stephens wrote: At present I'm triggering Cluetip thus, with Cluetip using the anchor title attributes for tip titles: Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore Is there a way to skip the title attribute and instead use the

[jQuery] Re: changing input's class upon error

2009-03-04 Thread Jörn Zaefferer
A class of "error" is added to any invalid element. You can customize that class using the errorClass-option. Jörn On Wed, Mar 4, 2009 at 9:15 PM, vincent woo wrote: > > this question is regarding the form Validation plugin found here: > > http://docs.jquery.com/Plugins/Validation > > On Mar 4,

[jQuery] Re: How can I disable a button if a form using JQuery Validate plugin passes validation?

2009-03-04 Thread James
Use the submitHandler callback in the options. http://docs.jquery.com/Plugins/Validation/validate#toptions $(".selector").validate({ submitHandler: function(form) { $("button").attr('disabled', 'disabled'); } }); On Mar 4, 12:50 pm, Gigi wrote: > When a user clicks the submit butt

[jQuery] Re: How to use anchor text as title attribute?

2009-03-04 Thread Jonny Stephens
Many thanks for your quick response Brian. Works fine. Images do produce an empty title string as you predicted. I'm solely targeting text so no problem there. Jonny On Mar 4, 11:27 pm, brian wrote: > $('a').each(function() > { >         $(this).attr('title', $(this).text()); > > }); > > Keep

[jQuery] Re: How do I translate this in jQuery?

2009-03-04 Thread Rick Faircloth
Hi, "uwb"... That works great! Simple and efficient. Thanks for the code. Thanks, too for everyone's contributions. There were others that worked as well. My ultimate goal is to create an ajax form upload that includes file fields. I've got the ajax uploading, processing, and data returns to

[jQuery] Re: tablesorter doesn't sort negative currency properly

2009-03-04 Thread aquaone
alternatively, write your own parser, or store the value as a float in a hidden span that appears before the displayed value. default behavior of tablesorter is to sort on the first child dom node with a text node... stephen On Wed, Mar 4, 2009 at 15:26, donb wrote: > > Add a hidden column wit

[jQuery] Re: Objects Methods as event handlers.

2009-03-04 Thread ricardobeat
I wouldn't call it 'corruption'. It's just a different approach. In jQuery 'this' will always refer to the element to which the method is being applied. And the data() function doesn't add any properties to the element. Any reason to not simply take advantage of scoping? myClass = function( elem

[jQuery] Re: How to use anchor text as title attribute?

2009-03-04 Thread brian
$('a').each(function() { $(this).attr('title', $(this).text()); }); Keep in mind, though, that an anchor might have an image inside, rather than text. I doubt it'd be an issue. I guess jquery would simply set it to the empty string. On Wed, Mar 4, 2009 at 6:11 PM, Jonny Stephens wrote:

[jQuery] Re: tablesorter doesn't sort negative currency properly

2009-03-04 Thread donb
Add a hidden column with the values unformatted, as float values. Sort on that column On Mar 4, 4:36 pm, novotny wrote: > Hi, > > I have a column with values $4.50, $127.00, -$130.00, -15.76 and the sorting > doesn't work. It works fine if all values are positive, however. Does anyone > have any

[jQuery] How to use anchor text as title attribute?

2009-03-04 Thread Jonny Stephens
I want to generate title attributes from existing anchor text, e.g. Foo Foo becomes Foo Foo The code below works in FF3 with Firebug reporting no errors, but Safari reports a parsing error. IE is no go. $('a').attr('title' , function() $(this).text()); adding curly brackets clears the parsin

[jQuery] How can I disable a button if a form using JQuery Validate plugin passes validation?

2009-03-04 Thread Gigi
When a user clicks the submit button and the form passes validation I'd like that button to be automatically disabled. I'd like to prevent users from double clicking on the button to prevent double submissions. Thanks!

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-04 Thread Ariel Flesler
It seems to be working well for me, on FF2. Using the back button won't animatedly scroll, the plugin isn't monitoring those changes. On Wed, Mar 4, 2009 at 7:28 PM, clorentzen wrote: > > Ariel -- > > Thanks for your reply. If I go to my test page from one of the full > URLs with an anchor, and

[jQuery] Re: How do I translate this in jQuery?

2009-03-04 Thread unwiredbrain
Rick, if I got your problem correctly, then I've got a solution for you. content.html - http://paste2.org/p/158330 wrapper.html - http://paste2.org/p/158331 Long story short: $("#destination-element-id").load($("#iframe-element-id").attr("src")); The only problem I can think of is that you nev

[jQuery] jHistory help

2009-03-04 Thread NightWatchman
I'm making a website that has a drill-down form in it where you can select an office from a dropdown and then an agent from that particular office. My problem is once the user views an agent and clicks the back button on the browser my page breaks. I need to retain some page states in the form of

[jQuery] Validating multiple inputs as one (birth date)

2009-03-04 Thread bill.shib...@gmail.com
So I have a form that requires the user to enter their birth date. It is set up as three separate inputs. It looks a little something like this: Birth Date / MM

[jQuery] tablesorter doesn't sort negative currency properly

2009-03-04 Thread novotny
Hi, I have a column with values $4.50, $127.00, -$130.00, -15.76 and the sorting doesn't work. It works fine if all values are positive, however. Does anyone have any idea how to fix this? For now I just have to eliminate the "$" in order for it to work. Thanks, Jason -- View this message in

[jQuery] Re: Getting an iframes title?

2009-03-04 Thread mkmanning
Not unless you proxy it on the server-side (you can have iframes communicate across domains if you control the domains--that is you have control of the code in the iframes and the parent--the latter being an obscure, and almost pointless, cross-domain hack that probably won't help in this case any

[jQuery] [jQuery Sifr Plugin]

2009-03-04 Thread donb
This is the one by Jonathan Neal. I first found and tried to use this plugin with jQuery 1.3 and it was a no-go. I couldn't figure out why it didn't work, until I backed up to jQuery 1.2.6. Just in case someone else runs into this, I thought I'd mention it here. I have submitted a note to Jona

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-04 Thread clorentzen
Ariel -- Thanks for your reply. If I go to my test page from one of the full URLs with an anchor, and then refresh the page, I still have the problem -- namely, it resets to the beginning of the page and doesn't properly scroll to the anchor location in the URL. Also, when I click my "site two" l

[jQuery] Re: Ajax loading of HTML

2009-03-04 Thread davidnext
Firebug indicates that the HTML files are loads successfully. Some other issue is happening. On Mar 4, 2:39 am, jQuery Lover wrote: > Have you uploaded your includes directory and usa.html files? > > Also, your html markup is not valid. Maybe it's causing the problem, > who knows... > > >

[jQuery] Re: Attempting to convert to jQuery

2009-03-04 Thread Karl Rudd
This is being discussed in another thread at the moment ( http://groups.google.com/group/jquery-en/browse_thread/thread/b7eadd9ca0a683a4 ). There are a few plugins that you can try that should help: http://plugins.jquery.com/project/bind http://higginsforpresident.net/js/jq.hitch.js Karl Ru

[jQuery] Re: 2 tables with same td width

2009-03-04 Thread donb
Incidentally, if you are interested, the jGrid plugin deals with pretty much all the aspects of your apparent project already. On Mar 4, 4:39 pm, MorningZ wrote: > I took a shot in the dark on what your HTML is like > > here's a working example > > http://paste.pocoo.org/show/106506/ > > Note: t

[jQuery] Re: 2 tables with same td width

2009-03-04 Thread donb
Is thre some reason you can't do it with simple CSS directives? Define a Class for each as appropriate and use the same class in the td of both tables. No jQuery or javascript needed at all. On Mar 4, 4:39 pm, MorningZ wrote: > I took a shot in the dark on what your HTML is like > > here's a wo

[jQuery] Re: Objects Methods as event handlers.

2009-03-04 Thread Karl Rudd
Actually the only thing that gets added to elements (apart from the usual event handlers) is a jQuery123123234124 type attribute. The data itself is stored in a separate store, away from the DOM elements. This is also helps deal with memory leakage problems. So no, no "global namespace pollution".

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-04 Thread Ariel Flesler
I think that happens because you first need to reset the scroll to (0,0). The browser also scrolls natively. I'm planning to add this within $.localScroll.hash, as well as taking advantage of sync animations, added since 1.3. But for now... :) $(document).ready(function(){ window.scrollTo(0,0

[jQuery] Superfish animation

2009-03-04 Thread bombaru
How do I kill/override the animation methods that are built into the code? I'm not a fan of the opacity or height methods and would like to see this menu without these additions. Is this the line that needs tweaking (and if so, can someone show me how)? $ul.animate(o.animation,o.speed,function(

[jQuery] Re: 2 tables with same td width

2009-03-04 Thread MorningZ
I took a shot in the dark on what your HTML is like here's a working example http://paste.pocoo.org/show/106506/ Note: the width's of cells are not know until the page is fully loaded... hence the initial call to the function is inside "$ (window).load" On Mar 4, 4:01 pm, MorningZ wrote:

[jQuery] Re: Objects Methods as event handlers.

2009-03-04 Thread Michael
And jQuery docs criticize prototype for polluting the global namespace and in the same breath recommend binding element properties that would normally go on a class to elements with all the potential namespace collisions that brings? O... K.. (backs away slowly). Honestly, the more I use thi

[jQuery] Re: 2 tables with same td width

2009-03-04 Thread MorningZ
without an example of your HTML, i have no idea what your problem could be On Mar 4, 3:35 pm, Alain Roger wrote: > On Wed, Mar 4, 2009 at 3:20 PM, MorningZ wrote: > > > Some code i wrote > > >http://paste.pocoo.org/show/106445/ > > > Call it like: > > > Columns_Resize($("selector for tables to

[jQuery] Re: jQuery noobie -- what bind() is all about

2009-03-04 Thread James
That's probably because your second click assignment is executed before your new HTML data is inserted into the document. The reason this occurs is because the AJAX by default does not hold up the script so it just fires the request off and executes the rest of the script. To workaround this, set

[jQuery] Re: 2 tables with same td width

2009-03-04 Thread Alain Roger
On Wed, Mar 4, 2009 at 3:20 PM, MorningZ wrote: > > Some code i wrote > > http://paste.pocoo.org/show/106445/ > > Call it like: > > Columns_Resize($("selector for tables to line up widths")) > > Hi MorningZ, i tried to adapt the code to my purpose and i'm facing an interesting problem. $slave_ta

[jQuery] Re: changing input's class upon error

2009-03-04 Thread vincent woo
this question is regarding the form Validation plugin found here: http://docs.jquery.com/Plugins/Validation On Mar 4, 12:24 pm, vincent woo wrote: > I want to find a simple way to change a form element's class when > there is an unsuccessful field.  Like I would like to change the input > box t

[jQuery] innerfade plugin that starts and stops on mouseover?

2009-03-04 Thread ka1617
I'm trying to to amend the innerfade jquery plugin so that it doesn't begin the fades until mouse over. And I want it to stop on the mouse out so that it only works when the user is mousing over it. Is this an easy tweak or much more difficult than I think it is. Obviously, I'm not much of a progr

[jQuery] jQuery noobie -- what bind() is all about

2009-03-04 Thread twisteddiana
I've read that if you add new elements to the document, or if you modify the already existing elements and you want to asign a behaviour to them via jQuery, you would have to bind the new elements with the existing behaviour pattern. Could anyone explain to me why this is not working: $(document

[jQuery] Jcarousel with Thickbox adding HTML

2009-03-04 Thread jake_d
I am using Jcarousel with Thickbox to have a sliding image viewer. But i need a couple of them to either open up as html or flash. I really need some help with this and im not very proficient in java or jQuery The site is http://www.l7creative.com/test/L7 There is also other .js files the code

[jQuery] Jcarousel with Thickbox

2009-03-04 Thread jake_d
I am using Jcarousel with Thickbox to have a sliding image viewer. But i need a couple of them to either open up as html or flash. I really need some help with this and im not very proficient in java or jQuery The site is http://www.l7creative.com/test/L7 There is also other .js files the code

[jQuery] Jcarousel with Thickbox adding FLASH

2009-03-04 Thread jake_d
I am using Jcarousel with Thickbox to have a sliding image viewer. But i need a couple of them to either open up as html or flash. I really need some help with this and im not very proficient in java or jQuery The site is http://www.l7creative.com/test/L7 There is also other .js files the code

[jQuery] [validate] changing input's class upon error

2009-03-04 Thread vincent woo
I want to find a simple way to change a form element's class when there is an unsuccessful field. Like I would like to change the input box to a red input box if there's an error. Thanks Vincent

[jQuery] jWYSIWYG links

2009-03-04 Thread Josey
Hi all, I'm trying to enhance the jWYSIWYG editor to allow me to automatically link thumbnails to the parent image. I can create the logic to strip out the the image basename (image.jpg) and add the rest of the url just fine but, as of right now, I cant seem to get the editor to recognize and th

[jQuery] Jcarousel with Thickbox

2009-03-04 Thread jake_d
I am using Jcarousel and thickbox i need some of the thickbox items to open up as images and i need some to open as html or flash. is that possible? the link to my site is http://www.l7creative.com/test/L7 please help! here is my code right now... // Set thickbox loading image tb_pathToImag

[jQuery] Jcarousel with Thickbox

2009-03-04 Thread jake_d
I am using Jcarousel with Thickbox to have a sliding image viewer. But i need a couple of them to either open up as html or flash. I really need some help with this and im not very proficient in java or jQuery The site is http://www.l7creative.com/test/L7 There is also other .js files the code

[jQuery] Re: nothing working in ie

2009-03-04 Thread mo`
Try IE Developer Toolbar http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en On 4 Mrz., 14:05, annam wrote: > hi, im relatively new in jquery and although my script works fine in > chrome and firefox nothing seems to work in ie. i've used a

[jQuery] Re: How do I translate this in jQuery?

2009-03-04 Thread MorningZ
"I always get 'content' as null in the alert I've set up, as well as in console.log(content)." you have: var content = $('#myIFrame').html(); no where in your HTML is an object with the ID "#myIFrame", hence you get nothing/null On Mar 4, 1:34 pm, "Rick Faircloth" wrote: > Well, I have run

[jQuery] JQGrid Grid as subgrid not calling server-side program

2009-03-04 Thread Chuk
I have been trying to get a grid as a subgrid to work for about a week now. When I click the plus sign in a row, I can see (via firebug) that the code relative to the subgrid gets run, but the server program doesn't. It's like it never calls the server-side program. If someone could take a look

[jQuery] Re: How do I translate this in jQuery?

2009-03-04 Thread Matt W.
This following code should work fine for you, did for me - http://ajax.googleapis.com/ajax/ libs/jquery/1.2.6/jquery.min.js"> function getContentFromIframe(iFrameName) { $('#iFrame-content').append($("#"+iFrameName).contents().find ("body").html()); }

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-04 Thread clorentzen
Sorry, I hit "post" button too quickly there... You can see an example linking to a test page here: http://www.cementresources.com/paneltest/hub.html I've seen the issue in FF3, Safari 3, and in IE 6 and 7. Not sure what I'm doing incorrectly. Any help appreciated. Thank you! On Mar 4, 1:43 

[jQuery] LocalScroll with anchor in URL not working

2009-03-04 Thread clorentzen
Hi -- I'm using the LocalScroll plugin, and having trouble getting it to work when passing the anchor through as part of the URL. Instead of scrolling to the appropriate anchor id, the window just moves a few pixels and stops. Calling LocalScroll on links within the page works fine, but not when

[jQuery] Re: Problems with jQuery 1.3.2

2009-03-04 Thread Dave Methvin
It has some old selectors. I just had to update it for a project myself. There were just 4 lines that I changed, which got it to work for my situation. There may be other issues for more complex trees; I just had a two-level tree hierarchy. - var branches = $("li[>ul]", this); + var b

[jQuery] Re: How do I translate this in jQuery?

2009-03-04 Thread Rick Faircloth
Well, I have run my little test of this iFrame transfer code with every variation I can think of and it still doesn't work. I'm trying to append the text, "This is inside frame.html...", to the test of the p tag with id of 'iFrame-content'. It seems so simple, but... I always get 'content' as n

[jQuery] Re: html data in IE

2009-03-04 Thread James
Can you put up a demo page that displays this issue? On Mar 3, 6:15 pm, pedalpete wrote: > I've been struggling with IE for a few days now, and looking through > the HTML check in debugbar, it shows that IE would throw an error on > every .html(''), so I took any place where I had the > html

[jQuery] Re: function executing twice

2009-03-04 Thread James
Another option is to use the live() function.: $('a[rel="lesson"]').live('click', function() { window.open(this.href, "_blank", "channelmode=0, directories=0, fullscreen=0, height=820, left=0, location=0, menubar=0, resizeable=1, scrollbars=0, status=1, titlebar=1, toolbar=0, top=0, width=1044");

[jQuery] Re: Exception errors when using validation rules

2009-03-04 Thread James
The part: [Exception... "'Syntax error, unrecognized expression: [...@for='license']' when calling method: tells you that somewhere in your code you have the expression [...@for='license']' that is unrecognized. Remove the @ sign as that is no longer valid from jQuery 1.3. Make sure you have the l

[jQuery] Re: function executing twice

2009-03-04 Thread James
Everytime you're calling that function, you're adding an addition click event to it. One option is to unbind any existing onclick events and then re-bind it.: $('a[rel="lesson"]').unbind('click').click(...) On Mar 4, 5:42 am, inertiahz wrote: > Hi there, > > Just getting started with javascript

[jQuery] Alphanumeric plugin doesn't prevent underscores

2009-03-04 Thread BSpizzle
something I have noticed and don't seem to be able to find a way around is that with the alphanumeric plugin (http://itgroup.com.ph/ alphanumeric/) and in all demos I've seen online and in my use of this, it appears that the underscore character is not parsed out like every other character. the 'i

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-03-04 Thread Nicolas R
Matt, I'll get back to you tomorrow with some code snippets. It's been a while since I did the bug fixing for IE and I can't remember right now what the issues were. And since I'm really smart I didn't save the code that fixed the issues. So, yeah, tomorrow I'll have a look and post back. Cheers

[jQuery] Re: Ajax Dot Net Plugin

2009-03-04 Thread Joseph Le Brech
can you test your webservice? Put a breakpoint to see what it is inserting into the SOAP object. That's one thing i do not like about the asp.net service thing is their insistance on wrapping json inside a SOAP object, it's like sticking binary inside XML. > Date: Wed, 4 Mar 2009 09:

[jQuery] Re: Ajax Dot Net Plugin

2009-03-04 Thread MorningZ
It appears that you are trying to hit an asmx file that is protected by ASP.NET Authentication... either exclude it from needing to be logged in (using web.config), or make sure on the page that the JSON call is happening is a logged on user On Mar 4, 12:13 pm, Jon wrote: > I'm afraid i don't

[jQuery] Re: Ajax Dot Net Plugin

2009-03-04 Thread Jon
I'm afraid i don't have the JSON handy. Being new to this i'm not sure how to get to that layer yet! Anyway when i do alert(x.responseText) I get: The resource cannot be found. [HttpException]: The file '/service.svc/helloworld/CMSLogin.aspx' does not exist. at System.Web.UI.Util.Check

[jQuery] Re: Ajax Dot Net Plugin

2009-03-04 Thread Jon
I'm afraid i don't have the JSON handy. Being new to this i'm not sure how to get to that layer yet! Anyway when i do alert(x.responseText) I get: The resource cannot be found. [HttpException]: The file '/service.svc/helloworld/CMSLogin.aspx' does not exist. at System.Web.UI.Util.Check

[jQuery] Re: Ajax Dot Net Plugin

2009-03-04 Thread Joseph Le Brech
Do you have the json handy?? http://www.jsonlint.com/ Paste the output in here to see if its valid json? is it generated from a asp service? > Date: Wed, 4 Mar 2009 08:24:52 -0800 > Subject: [jQuery] Re: Ajax Dot Net Plugin > From: morni...@gmail.com > To: jquery-en@googlegroups.com

[jQuery] [ot] Browser capabilities detection?

2009-03-04 Thread Penner, Matthew
This is slightly off topic but related. I am tasked with migrating our organization's static website to a more dynamic one with plans for several web applications for our users. I plan on using jquery as my js foundation. Our users are various school districts which may have a variety of b

[jQuery] Re: Getting an iframes title?

2009-03-04 Thread Shedokan
not fair! :) ok thanks for the info, any other way to get it? On 4 מרץ, 18:43, mkmanning wrote: > You can't if it's on a different domain. > > On Mar 4, 8:20 am, Shedokan wrote: > > > I have an iframe and I want to get it's title: > >         > >                 http://google.com"; width="100

[jQuery] Problems with dependent selects and accents

2009-03-04 Thread Dark
Hello! I have some problems with my jquery! When I select one option with accent in my combo, the ajax don't work!. The page is: http://www.ibcperu.org/sicnabd/index2.php Please, could you help me?? Thks!

[jQuery] Install problem with Superfish

2009-03-04 Thread luckywhitegirl
Hi, I run a Joomla 1.5 site and have heard good things about the Superfish plugin. I would really like to try it but I can't get it to install using the Joomla installer (get the "can't find XML setup file" error). I can manually install it by ftp'ing the files over but I'm not sure where to put

[jQuery] function executing twice

2009-03-04 Thread inertiahz
Hi there, Just getting started with javascript and jquery on a site im developing, however i cant figure a way around a function executing repeatedly. I have some code to open all links with rel='lesson' in a new window $('a[rel="lesson"]').click( function() { window.open(this.href, "_blank", "c

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-03-04 Thread matt
Hi Nicolas first, its a great tool to work with! Currently I'm trying to use it in Plone CMS as a reference widget. It works great on nearly all browser (as you said) except on IE6. My approach was to give fixed height and width to the div's (.ui- finder-column, .ui-finder-wrapper): but without

[jQuery] scope change of jquery functions in popup window

2009-03-04 Thread rafi
Hi, I want to use jquery functions in popup window which is opened using window.open function. For this what i wrote command in popup window is: var $ = window.opener.jQuery; now when i try to use xpath selectors to hide all spans which has name attribute as "route" in popup, it actually hides

[jQuery] ajaxError, global vs local event

2009-03-04 Thread .png
Hi everybody, while I was writing my heavy-ajax-loaded app I noticed that while I can subscribe to local ajaxError events simply by specifing this within my $.ajax() settings object: 'error': function (XMLHttpRequest, textStatus, errorThrown) { // typically only one of textStatus or errorThrow

[jQuery] nothing working in ie

2009-03-04 Thread annam
hi, im relatively new in jquery and although my script works fine in chrome and firefox nothing seems to work in ie. i've used a couple of debuggers in ie and they both point to my document.ready() line. i've searched for trailing commas which i know can cause errors but didnt find any this is th

[jQuery] post via AJAX, expecting "script" in return: doesn't work in Safari

2009-03-04 Thread CarmineM
Hi everyone, I'm facing a problem with jQuery and AJAX. I am trying to post a form via AJAX (to a Rails backend), knowing that the returned data type is "script". So far, the code I wrote work in Firefox 3.x while in Safari, the form gets actually posted (and the database update accordingly), wh

[jQuery] populating data display

2009-03-04 Thread bert.so...@gmail.com
I built a tree view with checkboxes and when I click on the records, I append() the text value to another div to show what I have currently selected. I would like to know what would be the best approach to have a way where when I check boxes, the value appears in another div and when I uncheck

[jQuery] Re: Ajax loading of HTML

2009-03-04 Thread RvFlash
Hi, Try the plugin jSelect to populate a Select element (with JSON, XML, Array and more): http://www.rvdevsign.net/sources/javascript/jselect/jselect.html I hope that it could help you to bypass this problem. On Mar 3, 3:52 pm, davidnext wrote: > Hi All, > > I am having a problem with loading

  1   2   >