[jQuery] selector finds element but changing css has no effect?

2009-02-04 Thread pantagruel
Hi, I have a div that is inside a td. My code is the following fragment: var currentelement = jQuery("#" + activecolid); var selectedcontent = jQuery("#" + activecolid).find ("div.contentdisplay"); alert(currentelement.html()); alert(selectedcontent.html()); selectedcontent.css({border: "10px s

[jQuery] Re: Jquery adds its own tags to divs???

2009-02-04 Thread Ricardo Tomasi
You see them in IE Developer Toolbar, right? These are unique identifiers for elements, serves the data() function and others. On Feb 4, 11:57 pm, Andy789 wrote: > Hi All, > > I cannot understabd why jquery adds these tags to my divs - something > like: > > jquery1233798431484="2" jquery12337982

[jQuery] Re: How can I extract the index of an item based within a table?

2009-02-04 Thread Ricardo Tomasi
var index = $(this).parent('tr').index(this); var quantity = $('.price_table th').eq(index).text(); alert( quantity ); On Feb 4, 9:45 pm, paulswansea wrote: > Hi, > > I'm trying to write some jquery code so when i click on the relevent > item price, it alerts me with the quantity of that item an

[jQuery] alignment IN IE6 ... with jquery..

2009-02-04 Thread shyhockey...@gmail.com
Hi, ok currently I just looked at my website using IE6 and IE7. I notice the pages I used jquery and javascript, would be randomly placed around the website and also the menus that needed to fade in and out when a mouse hover occurs over the user image. Well those menus show up as images and dose

[jQuery] Re: SUPERFISH ie6 issue...or is it just CSS?

2009-02-04 Thread Joel Birch
Hi John, What happens if you float the anchor elements as well as the li elements? I know this often helps IE6 behave more consistently in these situations. If you want to remove the possibility of the Superfish JS interfering (I doubt it is though) then just remove the JS code and also remove t

[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-04 Thread Pedram
Thanks , great , But consider the I want the user to Click in a Option which is selected right now and An event Fire Ups so Click dosen't work for IE and CHange doen't support it On Feb 4, 10:52 am, James wrote: > Change should work. > > $("select.actions").change(function(){ >      if ( $(this

[jQuery] Re: Superfish - side-by-side menu items

2009-02-04 Thread Joel Birch
Hmmm, is that so? Can you get the other ul elements to show properly with JS disabled? If not then the problem is in your CSS. Otherwise, I'll try and wrap my mind around what is occurring in the plugin code. Joel.

[jQuery] Re: Superfish display:none

2009-02-04 Thread Joel Birch
jQuery's animation functions apply display:none to the ul elements when they are hidden. Therefore, it's good use left:-999em for when JS is disabled, but I don't know a solution for when it is. Joel.

[jQuery] Re: Superfish IE7 Issue

2009-02-04 Thread Joel Birch
Hi Jesse, Does this also happen when JavaScript is disabled? Knowing this will help narrow down the problem to being soley a CSS issue. I don't have access to Windows at the moment. Joel.

[jQuery] Re: Superfish

2009-02-04 Thread Joel Birch
Hello, I think that it's simply a matter of including multiple ul elements inside the parent li, then floating them alongside each other (obviously they will need a width to be set). I've seen this work and have experimented with it myself in the past to be sure that it does work, but I don't hav

[jQuery] [autocomplete] onItemSelect function not running

2009-02-04 Thread Garth
I’m using the autocomplete plugin 1.0.2 from http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ and have got it mostly running smoothly, but I’m having problems with the onItemSelect option. It doesn’t seem to run. I cannot find any reference to onItemSelect within jquery.autocomplet

[jQuery] [autocomplete] onItemSelect function not running

2009-02-04 Thread Garth
I’m using the autocomplete plugin 1.0.2 from http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ and have got it mostly running smoothly, but I’m having problems with the onItemSelect option. It doesn’t seem to run. I cannot find any reference to onItemSelect within jquery.autocomplet

[jQuery] Re: how to access "checked" attribute on a toggle

2009-02-04 Thread Karl Rudd
The "name" attribute isn't the same as the "id" attribute (though in IE it "kind of" is). On a side note, XHTML and HTML differ in how you make something "checked": HTML: XHTML: If you want to select by "name" you'll need to do this: $("input[name=tog_0]") Or you could add an "id" to

[jQuery] Re: how to access "checked" attribute on a toggle

2009-02-04 Thread James
alert( $("#tog_0:checked").val() ); It will return whatever value is set for that input. On Feb 4, 3:02 pm, Chris wrote: > This is incredibly basic, but I'm missing something. I have this html: > > > > I want to find the toggle and get the value of checked. I have tried > the following, but not

[jQuery] [validate] Plugin Question

2009-02-04 Thread Chris
On my site http://www.chris-gwen.com/ I use the plugin on the RSVP tab. If you click the "Accept" radio button you get a dropdown. How can I then set validation on that select only when the accept button has been clicked?

[jQuery] [validator] custom rule with additional params

2009-02-04 Thread yongbin
Hi at first, I really thanks for great efforts in Jquery and validator.they reduce our time and work less than half. now, we can't write even simple script without them recently, I tried to make custom rule method that called with 3 arguments such as... ( I use metadata plugin ) and my custom

[jQuery] how to access "checked" attribute on a toggle

2009-02-04 Thread Chris
This is incredibly basic, but I'm missing something. I have this html: I want to find the toggle and get the value of checked. I have tried the following, but nothing works: alert ($("#tog_0").attr("checked")); alert ($("#tog_0").checked); both give me undefined. $("#tog_0") is giving me an

[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-04 Thread James
I've never had any issues with it on any common browsers, including IE6. On Feb 4, 4:05 pm, Pedram wrote: > Ow Great so $(this).val() returns the Option value , is this > acceptable by IE because , I think I had a Problem with that before . > > On Feb 4, 10:52 am, James wrote: > > > Change shou

[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-04 Thread Pedram
Ow Great so $(this).val() returns the Option value , is this acceptable by IE because , I think I had a Problem with that before . On Feb 4, 10:52 am, James wrote: > Change should work. > > $("select.actions").change(function(){ >      if ( $(this).val() == 'NEW' ) alert('NEW was selected'); >  

[jQuery] Jquery adds its own tags to divs???

2009-02-04 Thread Andy789
Hi All, I cannot understabd why jquery adds these tags to my divs - something like: jquery1233798431484="2" jquery1233798241359="null" what is this?

[jQuery] Re: setting focus to the first empty field

2009-02-04 Thread Ricardo Tomasi
$('[value=""]') seems to be broken in 1.3.1 (fixed in the nightlies, see http://dev.jquery.com/ticket/3990), so that would be $('form input[value=]:first').focus(); cheers, - ricardo On Feb 4, 7:38 pm, Klaus Hartl wrote: > $('form input[value=""]:first').focus(); > > --Klaus > > On 4 Feb., 20:

[jQuery] Re: .eq(variable) strange behaviour

2009-02-04 Thread Ricardo Tomasi
menuLoading(currentMenuItem,menuLength) --> with this you're calling the function instantly, not passing it as a callback. You can't pass parameters to the callback this way, use local vars instead. Also you should increase the currentMenu var only after you've chosen the current one. $('.menu li

[jQuery] Re: Dealing with Date Comparison

2009-02-04 Thread bjorsq
To do this in JavaScript, you need to extract the text representation of the date you have in the div, parse it, and set up a new JavaScript Date object to compare against the current date/time. If your dates are formatted like [day]/[month]/[year] (I'm in the UK), then this should work (but will

[jQuery] Superfish IE7 Issue

2009-02-04 Thread TheJester12
Hello all, I'm working on a website for a client, I'm using the http://users.tpg.com.au/j_birch/plugins/superfish/";>Superfish menu. I've got the menu working on all browsers except IE7 which has a strange little bug. When you mouseover the menu the first time, it works fine, but from then on whe

[jQuery] Re: good in FF but not in IE??? 10 lines of code ?

2009-02-04 Thread Dean Barker
Thanks fella you are a star ! www.frameJockey.co.uk i...@framejockey.co.uk framejoc...@gmail.com framejoc...@yahoo.com [image: Google Talk:] framejoc...@gmail.com [image: Y! messenger:] frameJockey 2009/2/4 donb > >

[jQuery] How to synchronize callback events

2009-02-04 Thread Andy789
Hi All, This is my workflow logic: 1. I submit $.post AJAX request and get the callback data 2. This data is a raw html code, which is used to append some div 3. I have to scroll through all the new appended elements and make them draggable The problem is that the drag activation function start

[jQuery] How can I extract the index of an item based within a table?

2009-02-04 Thread paulswansea
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then ex

[jQuery] jQuery Slider and Spinning Picture + Complication

2009-02-04 Thread issya
I have this code here and I was wondering how I might go about making a little gif spin around while it is doing it's thing. On a more complicated note, is there any easier way I can do this? I have a page that displays 16 houses and relevant information. It also displays a Google Map with all of

[jQuery] Re: good in FF but not in IE??? 10 lines of code ?

2009-02-04 Thread donb

[jQuery] Re: Dealing with Date Comparison

2009-02-04 Thread James
I agree with Cam Spiers that it's better to do it server-side. Create the format for the date that's easy to compare with in Javascript, and just stick it in a hidden input field. On Feb 4, 12:39 pm, Bob O wrote: > Can any one point me in the right direction for my issue. > > I have a div with a

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread Varun Khatri
I was checking it on the link that you sent me , so do you think I need it to have form tag seperately in each tab ... and then use it or I can just use aspnetForm... The problem is how in each tab i will have different validation ... Like tab1 will have textbox1 and submitbutton1...tab2 will hav

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread tres
It is being used and is stable in an enterprise environment so I shouldn't say "alpha". The only reason I said that was because I do want to do a lot more work to it and the api might change. Trey On Feb 5, 9:42 am, tres wrote: > Varun, > > I've actually solved a problem like this for the com

[jQuery] Re: Dealing with Date Comparison

2009-02-04 Thread Cam Spiers
Sorry if this isn't any help but why don't you do it on the server side? On Thu, Feb 5, 2009 at 11:39 AM, Bob O wrote: > > Can any one point me in the right direction for my issue. > > I have a div with a text value pulled in from a database 01/01/2009 > > Im trying to write a javascript that ca

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread tres
Varun, I've actually solved a problem like this for the company that I work for. I have 5 tabs, all located within 1 form. I also had to label the tabs that had errors and focus the first one that had errors. This is simply unachievable without a bit of "hacking" with the .validate() plugin. Don'

[jQuery] Dealing with Date Comparison

2009-02-04 Thread Bob O
Can any one point me in the right direction for my issue. I have a div with a text value pulled in from a database 01/01/2009 Im trying to write a javascript that can take that value and compare it against new Date(); $(document).ready(function() { now = new Date(); lastActivityDivs = $('td

[jQuery] good in FF but not in IE??? 10 lines of code ?

2009-02-04 Thread framejoc...@googlemail.com
Hi Can anyone help. I have tried debugging with debug bar and it tells me line 3 is expecting an object ? removed comments etc still no luck. Also the sidebar list is missing ?? whats all that about . Roll on IE 8 ! http://www.framejockey.co.uk/preWordpress/ Thanks in advance Dean

[jQuery] Tablesorter related

2009-02-04 Thread Dev
Hi, If data in the table column is dynamically generated using python method and fed : like: str(num)+' test' the column sorting does'nt work based on numbers in the text. Any clue, if I have to write a new parser? If I directly feed values in column like: 3 test 5 test 8 test then sort wor

[jQuery] Jquery tablesort - sorting problem

2009-02-04 Thread Dev
I am using tablesort on table ,where data in cells are formatted by python methods. So data in the column is not sorted correctly. eg: if the data in a column of table is put directly as 6 users 10 users 2 users likewise.. Then the sort works based on numbers in the data. But if I generate

[jQuery] Visual Studio Autocomplete Documentation

2009-02-04 Thread riaz
Will there be a new Visual Studio Autocomplete Documentation coming out, or will the 1.2.6 work well enough?

[jQuery] Superfish - side-by-side menu items

2009-02-04 Thread the.burning....@gmail.com
Good afternoon, I am trying to get Superfish to display menu items side-by-side, similar to the new http://www.whitehouse.gov site. However, whenever I attempt to put more than one unordered list into a single list item, Superfish only displays the second UL and it's contents. Is this possible

[jQuery] Re: setting focus to the first empty field

2009-02-04 Thread Klaus Hartl
$('form input[value=""]:first').focus(); --Klaus On 4 Feb., 20:57, Massiverse wrote: > Hello > > I'm a newbie, here's what I need to do (searched the forums first but > couldn't find the answer). > > 1. Search form for an empty input field. > 2. If an empty field exists, set the focus on the

[jQuery] Re: Superfish display:none

2009-02-04 Thread Wile E. Coyote
yeah, i know it's supposed to use left -px but the generated code in firefox still shows a style of display:none. On Feb 4, 3:33 pm, amuhlou wrote: > like webdev_help said, what you would do is use position: absolute > with the left -px, then on hover you would do left:auto > > so someth

[jQuery] Re: Superfish display:none

2009-02-04 Thread amuhlou
like webdev_help said, what you would do is use position: absolute with the left -px, then on hover you would do left:auto so something like #nav li ul {position: absolute; left: -px;} and #nav li:hover ul {left: auto;} On Feb 4, 4:04 pm, "Wile E. Coyote" wrote: > I don't want the men

[jQuery] Re: Superfish display:none

2009-02-04 Thread webdev_help
My understanding is that the left-999 is used in place of the Display:None. On Feb 4, 4:04 pm, "Wile E. Coyote" wrote: > I don't want the menus to display none because of screen-readers. > Where can I change this? I searched the code but I find nowhere that > says anything about display:none. >

[jQuery] Superfish display:none

2009-02-04 Thread Wile E. Coyote
I don't want the menus to display none because of screen-readers. Where can I change this? I searched the code but I find nowhere that says anything about display:none. Thanks

[jQuery] Re: setting focus to the first empty field

2009-02-04 Thread MorningZ
$("#FormID input").each(function() { if ($.trim($(this).val()) == "") { $(this).focus(); return false; //exits loop } }); On Feb 4, 2:57 pm, Massiverse wrote: > Hello > > I'm a newbie, here's what I need to do (searched the forums first but > couldn't find th

[jQuery] Re: Cascade plugin - feature/improvement request (data optimization)

2009-02-04 Thread Mike Nichols
sorry i replied on your other thread: @james, There is not a fixed schema for items in cascade. The json structure is outside the scope of cascade. For smaller lists I might load some javascript when the page hits and assign the 'url' as the var I gave it. For larger lists or more complex objects

[jQuery] Re: setting focus to the first empty field

2009-02-04 Thread Aaron Gundel
Something like this, perhaps? $(input :not([value])).focus() On Wed, Feb 4, 2009 at 11:57 AM, Massiverse wrote: > > Hello > > I'm a newbie, here's what I need to do (searched the forums first but > couldn't find the answer). > > 1. Search form for an empty input field. > 2. If an empty field ex

[jQuery] Re: Select empty textbox fields

2009-02-04 Thread Aaron Gundel
You may wish to file a bug report on this. The selector engine did change in 1.3 On Wed, Feb 4, 2009 at 11:04 AM, brnwdrng wrote: > > It's something in jQuery 1.3 ... the code works in Chrome and Safari > when I use jQuery 1.2.x. > > On Feb 4, 10:59 am, brnwdrng wrote: >> Interesting postnote:

[jQuery] [listnav] in Chrome

2009-02-04 Thread simshaun
Using jQuery 1.3.1, This question refers to the ListNav plugin found here: http://www.ihwy.com/Labs/jquery-listnav-plugin.aspx I've got a fairly large dataset on my page consisting of ~1000 LI elements. Each letter of the alphabet contains ~40 LI elements. Each LI element contains a varying amoun

[jQuery] Re: stilted animation in all browsers except Chrome & Opera

2009-02-04 Thread Ricardo Tomasi
The page doesn't load at all in IE7: "Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in E: \domains\a\antoniocaniparoli.co.uk\user\htdocs\wip1\antonio.php on line 4" and other errors. On Feb 4, 3:15 pm, Barney wrote: > Hi all! > > Having a great adventure of my first jQuery w

[jQuery] Re: having a problem with ' and strings

2009-02-04 Thread Ricardo Tomasi
My friend Mauricio Samy pointed out a mistake I made: attributes enclosed in single quotes are actually valid in XHTML/XML. I'm used to single quotes as a standard for JS, and double ones for XHTML, makes code clearer in both. cheers, - ricardo On Feb 4, 3:56 pm, Ricardo Tomasi wrote: > Replac

[jQuery] Re: Change subdomain on same page...

2009-02-04 Thread Ricardo Tomasi
The usual way that's done is via the URL hash: http://adamkobrin.com/#about location.hash == '#about' - ricardo On Feb 4, 3:50 pm, atomk wrote: > I have different subdomains pointing to the same file on my server - > simple enough. What I'd like to do is essentially reverse that: Can > the sa

[jQuery] setting focus to the first empty field

2009-02-04 Thread Massiverse
Hello I'm a newbie, here's what I need to do (searched the forums first but couldn't find the answer). 1. Search form for an empty input field. 2. If an empty field exists, set the focus on the field. 3. If no empty fields exist, do nothing. Thanks, August

[jQuery] Creating classes using jQuery

2009-02-04 Thread ShurikAg
Hi all, What is the right way of creating classes using jQuery. I'll give an example: I have a gallery of images. I prefer to have a JS class that will manage gallery's page. Thanks.

[jQuery] Creating a class using jQuery

2009-02-04 Thread ShurikAg
Hi all, Until now I was using my own developed JS library (based on traditional JS). In most cases I had classes for each module that I have in the system (for example: class for registration form, class for gallery interaction, class for gallery item etc.). Subsequently, those classes interacts

[jQuery] [validate] multiple email addresses in single input

2009-02-04 Thread roryreiff
Hi there, I was wondering how I might approach altering the jQuery Validate plugin to allow for an input with multiple email addresses, separated by commas, that validates each email address as being correct. I'm still a bit new to jQuery/javascript, so I'm curious as to how exactly I might appro

[jQuery] How to animate a div's position

2009-02-04 Thread Wayne
Hi, I have a div that is about half way down a page between some content. It displays 3 fields of a form. I have a "add more info" link, which when click expands the form to cover the page. This works great in FF, the div expands smoothly upwards to the top of the page, outward right out to the e

[jQuery] SUPERFISH ie6 issue...or is it just CSS?

2009-02-04 Thread webdev_help
I have created a simple stripped down version of the menu. http://superfancard.com/menu_issue.html the issue I have is with the displaying of the sub menu on hover. in FF and IE7 it looks like this on Hover MENU SubItem SubItem Subitem in IE6: MENU SubItem SubItem SubI

[jQuery] Validation Plugin

2009-02-04 Thread varun
Hi Can some one please tell me if I can use validate plugin if saomething is written in textbox by default ? I have a textbox which is using auto complete p[lugin , so when page loads an "auto-suggest" keyword always written in textbox and if some user clicks that keyword,it disappears ... I wan

[jQuery] Re: [validate] Jquery validation plugin isn't working in IE

2009-02-04 Thread whtthehecker
This solved it! Thanks a lot for the help Jörn! On Jan 28, 12:34 am, Jörn Zaefferer wrote: > I'm sorry, but you have trailing > commas:http://www.pluralsight.com/community/blogs/fritz/archive/2007/06/19/4... > > I hope its not too late :-) > > Jörn > > On Tue, Jan 27, 2009 at 11:46 PM,whtthehec

[jQuery] Re: How to submit a form with an Anchor rather than an Input tag?

2009-02-04 Thread Klaus Hartl
Try something like: $('#contact-form a').click(function() { $(this).parents('form').submit(); return false; }); Or: Simply style a submit input like a link (this is what I would do). --Klaus On 4 Feb., 15:38, Tintin81 wrote: > Hi Liam and Klaus, > > thanks for your swift feedback. >

[jQuery] Re: Proxy/Firewall killing jquery

2009-02-04 Thread Eric Garside
I'd think you'd have better luck getting them to properly configure the firewall. :\ On Feb 4, 10:45 am, ss11223 wrote: > I sometimes find myself behind a proxy/firewall that dynamically > removes "" tags > from files for security reasons. This breaks the jquery script > download!  Is there a wa

[jQuery] Re: Calling $.ajax with fully qualified URL broken?

2009-02-04 Thread Eric Garside
You cannot perform AJAX calls outside of your own domain. This is a security feature to help prevent Cross Site Scripting (XSS) attacks. There is a caveat, however. You can use $.getJSON() to fetch JSON objects from remote sites. The docs use a flickr photo stream as a good example of this. It all

[jQuery] Re: Select empty textbox fields

2009-02-04 Thread brnwdrng
It's something in jQuery 1.3 ... the code works in Chrome and Safari when I use jQuery 1.2.x. On Feb 4, 10:59 am, brnwdrng wrote: > Interesting postnote: > > The solutions given seem to work for the latest versions of Firefox, > IE, and Opera; but fail in Chrome and Safari.  They don't seem to b

[jQuery] Re: Select empty textbox fields

2009-02-04 Thread brnwdrng
Interesting postnote: The solutions given seem to work for the latest versions of Firefox, IE, and Opera; but fail in Chrome and Safari. They don't seem to be able to distinguish the empty text boxes from populated ones. On Feb 4, 8:53 am, brnwdrng wrote: > I got the second suggestion to work

[jQuery] Re: CLick event for Select Box not supported by IE

2009-02-04 Thread James
Change should work. $("select.actions").change(function(){ if ( $(this).val() == 'NEW' ) alert('NEW was selected'); else alert('NEW was not selected'); }); On Feb 4, 6:56 am, Pedram wrote: > Dear folk , >  I have a select box with Multiple Options > Such as below > >   New/Edit >   1

[jQuery] Re: Ajax Problem with IE works fine on FF

2009-02-04 Thread James
I haven't looked into it deeply, but try removing the space in "#gender :selected" so: Usex = $("#gender :selected").val(); becomes: Usex = $("#gender:selected").val(); I'm not sure if that'll make a differences. Do you know which part of your code is not working? Have you tried printing/loggin

[jQuery] Re: Calling $.ajax with fully qualified url results in error

2009-02-04 Thread James
You cannot use an AJAX call to another domain like that. It's a cross- domain no-no. However, there is a workaround using JSONP. Here are some resources: http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback http://remysharp.com/2007/10/08/what-is-jsonp/ On Feb 4, 5:41 am, "mcandrew@gma

[jQuery] Calling $.ajax with fully qualified url results in error

2009-02-04 Thread mcandrew....@gmail.com
I need to call $.ajax with a fully qualified url. For instance: $.ajax( { type: "GET", url: "http://www.google.com";, dataType: "html", success: function(data) {

[jQuery] Calling $.ajax with fully qualified URL broken?

2009-02-04 Thread mcandrew....@gmail.com
If I try to call $.ajax with a fully qualified url, nothing happens at all: $.ajax( { type: "GET", url: "http://www.google.com/";, dataType: "html", success: function(da

[jQuery] .eq(variable) strange behaviour

2009-02-04 Thread antoinepairet
Hi! I'm trying to have a menu for which each item loads after the preceding one is loaded. For this purpose, I wrote the following function: function menuLoading(currentMenuItem,menuLength){ console.log(currentMenuItem); currentMenuItem++; if(currentMenuItem<=menuLength){

[jQuery] Proxy/Firewall killing jquery

2009-02-04 Thread ss11223
I sometimes find myself behind a proxy/firewall that dynamically removes "" tags from files for security reasons. This breaks the jquery script download! Is there a way to modify the scirpt so that tag does not appear? jquery-1.3.1.js line 3020. Stuart

[jQuery] How do i extract the index of an item based within a table?

2009-02-04 Thread paulswansea
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then ex

[jQuery] stilted animation in all browsers except Chrome & Opera

2009-02-04 Thread Barney
Hi all! Having a great adventure of my first jQuery website — for ages I'd been telling myself "I should just get better at javascript", but I'd been following the development of Sizzle and thought, right, this is great! http://antoniocaniparoli.co.uk/wip1 I am having a bit of a headache with c

[jQuery] How do i extract the index of an item based within a table?

2009-02-04 Thread paulswansea
Hi, I'm trying to write some jquery code so when i click on the relevent item price, it alerts me with the quantity of that item and also displays the content of the h2 header just before the relevant table, is there a way somehow of finding out the index of the 'td' which is clicked, and then ex

[jQuery] Ajax Problem with IE works fine on FF

2009-02-04 Thread Xross
Hi, I am having problem with IE6 / IE7 but IE8 works fine. Here's my ajax call *** function getJSonDate() { var Usex =""; var Uminage = ""; var Umaxage =""; var Ucountry =""; var Uplace = "";

[jQuery] Calling $.ajax with fully qualified URL broken?

2009-02-04 Thread mcandrew....@gmail.com
If I try to call $.ajax with a fully qualified url, nothing happens at all: $.ajax( { type: "GET", url: "http://www.google.com/";, dataType: "html", success: function(da

[jQuery] Re: having a problem with ' and strings

2009-02-04 Thread Patrick Jarrett
There is nothing wrong with it, but it's far from perfect. By making the switch you're no longer at risk from 's but now if the string contains any "s you'll have the same problem all over again. Ideally you'd first run a replace on the string you fetch from the other site, replacing all 's with

[jQuery] Re: slideUp/Down jumpy in Firefox 3 but not in IE7?

2009-02-04 Thread rob303
I was struggling with this issue a few days ago. See: http://groups.google.com/group/jquery-en/browse_thread/thread/e24b99e5d6d14037/634d9d35155fc85a On Feb 4, 5:37 pm, "Andy Matthews" wrote: > The jQuery team freely admits that they optimize for IE more so than the > other browsers. So it's d

[jQuery] Dynamic height and animation

2009-02-04 Thread rob303
Hi All, I'm at a bit of a loss here. I have a div which contains a swf. The swf has various panels that can be expanded and contracted vertically so it's height can grow It's embedded using the jQuery flash plug-in and it has a height of 100%. The div itself has a starting height of 285px..

[jQuery] [autocomplete] Safari dosen't get a .change event

2009-02-04 Thread marcucio
If i set a textfield to use autocomplete: $(".form_tags_field").autocomplete(data, { multiple: true }); i get a $(". form_tags_field").change(function () {... }); event fired in Firefox ad IE but this does not happen in Safari. Has anybody

[jQuery] Re: Change subdomain on same page...

2009-02-04 Thread Eric Garside
Makes sense, not possible. The only way a browser allows the location bar to change is if you're actually at the web address. Otherwise you could easily phish up account info for major sites by spoofing the address bar. On Feb 4, 12:50 pm, atomk wrote: > I have different subdomains pointing to

[jQuery] Re: having a problem with ' and strings

2009-02-04 Thread Ricardo Tomasi
Replace all quotes inside your text variables with their correspondent HTML entities, then you should face no issues: titleFull = titleFull.replace("'","‘").replace('"',"""); I agree with Liam, it's best to use single quotes for the strings passed so you can use double quotes inside them. In XHT

[jQuery] Change subdomain on same page...

2009-02-04 Thread atomk
I have different subdomains pointing to the same file on my server - simple enough. What I'd like to do is essentially reverse that: Can the same file redirect to different subdomains? For example: http://adamkobrin.com When you click on any of the top 4 "links", different content is loaded, but

[jQuery] Re: a tag with good text popup (without title)

2009-02-04 Thread Ricardo Tomasi
Look for 'tooltip' at plugins.jquery.com This is the first result on google: http://www.codylindley.com/blogstuff/js/jtip/ On Feb 4, 12:35 pm, Petty Pavlow wrote: > Hi > I would like to do some html (a tag) links.When u go with mouse on the > top of this link it will pop up a box with      (may

[jQuery] Re: slideUp/Down jumpy in Firefox 3 but not in IE7?

2009-02-04 Thread Andy Matthews
The jQuery team freely admits that they optimize for IE more so than the other browsers. So it's distinctly possible that this is true. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Sam H Sent: Wednesday, February 04, 2009 11:28 AM T

[jQuery] Re: Tablesorter plugin - lazy caching

2009-02-04 Thread petrillodavide
Stephen, thanks for the tip ;) I'm using a similar workaround at the moment, I anyway think a lazy caching would be an useful feature for the plugin. Ciao, Davide. -- View this message in context: http://www.nabble.com/Tablesorter-plugin---lazy-caching-tp21830458s27240p21835411.html Sent from

[jQuery] slideUp/Down jumpy in Firefox 3 but not in IE7?

2009-02-04 Thread Sam H
I don't remember if it was like this in jQuery 1.2, but I have 1.3.1 and I can clearly see that slideDown/Up is much smoother in IE7 than in Firefox 3. Is it just me?

[jQuery] Re: Turning JSON-formatted AJAX data into data usable by ColdFusion

2009-02-04 Thread Charlie Griefer
Unfortunately, right now I just don't have the time to take on another project (even a small one like 'code consulting'), otherwise I'd be happy to. As far as someone who knows CF... that shouldn't really be an issue. You've -got- the data back already. You just need someone to show you how to wo

[jQuery] Re: jQuery UI Dialog - how to hide 'X' close box?

2009-02-04 Thread Sam H
Perfect - thanks! On Feb 4, 10:32 am, "Richard D. Worth" wrote: > See this thread > > http://groups.google.com/group/jquery-ui/browse_thread/thread/9c8fbe3... > > for some examples. > > - Richard > > On Wed, Feb 4, 2009 at 11:24 AM, Liam Potter wrote: > > > > > css > > > Sam H wrote: > > >> Is t

[jQuery] Re: ajaxfileupload response problem

2009-02-04 Thread Matt
to update regarding my error. Now I’m getting to the error callback. And I’m getting a: TypeError io.contentDocument.document is undefined happening here in the code: try { if(io.contentWindow) { xml.responseText = io.contentWindow.document.body? io.contentWindow.document.body.innerHTML:null; xm

[jQuery] Re: Posting a serialized string without Ajax ??

2009-02-04 Thread brian
On Wed, Feb 4, 2009 at 12:10 PM, sinkingfish wrote: > > > Hi, > > I think i might be overlooking the obvious but I've got a string from my > sortable list, something like : > item[]=3&item[]=1... > > I don't want to post this using ajax, I want to do a plain old post, but how > do I append the st

[jQuery] Re: Posting a serialized string without Ajax ??

2009-02-04 Thread Stephan Veigl
Hi Brain, you can put it into a hidden input field and do a normal user submit of the form. by(e) Stephan 2009/2/4 sinkingfish : > > > Hi, > > I think i might be overlooking the obvious but I've got a string from my > sortable list, something like : > item[]=3&item[]=1... > > I don't want to p

[jQuery] Re: Posting a serialized string without Ajax ??

2009-02-04 Thread Liam Potter
put it into a variable, and post the variable. sinkingfish wrote: Hi, I think i might be overlooking the obvious but I've got a string from my sortable list, something like : item[]=3&item[]=1... I don't want to post this using ajax, I want to do a plain old post, but how do I append the stri

[jQuery] Re: Turning JSON-formatted AJAX data into data usable by ColdFusion

2009-02-04 Thread Rick Faircloth
yeah, I know.it's not a bummer "knowing" more JS, but at this point projects are falling behind and I can't afford much more time for education. It's time to produce! I could have written this app 20 times by now except for the JS/AJAX part! Maybe it's time to once again turn to a privat

[jQuery] Posting a serialized string without Ajax ??

2009-02-04 Thread sinkingfish
Hi, I think i might be overlooking the obvious but I've got a string from my sortable list, something like : item[]=3&item[]=1... I don't want to post this using ajax, I want to do a plain old post, but how do I append the string to the post url? Thanks Brian -- View this message in context:

[jQuery] Re: Tablesorter plugin - lazy caching

2009-02-04 Thread aquaone
you could have the intiial page give a class to the (or w/ closest/delegation) and bind a click event to that class that would enable tablesorter and remove the class, stephen On Wed, Feb 4, 2009 at 05:28, petrillodavide wrote: > > > Hello everybody, > > I'm developing an application in which

[jQuery] Re: Turning JSON-formatted AJAX data into data usable by ColdFusion

2009-02-04 Thread Charlie Griefer
Having to learn more JS shouldn't really be a "bummer". More tools in the toolbox isn't a bad thing. i don't think you need any particular plug-ins... just read the jQuery docs. http://docs.jquery.com/Utilities/jQuery.each#objectcallback that'll iterate over a JS object or array. As you're loop

[jQuery] CLick event for Select Box not supported by IE

2009-02-04 Thread Pedram
Dear folk , I have a select box with Multiple Options Such as below New/Edit 1 2 3 I wanted to bind a Click event to the select box , so when ever we Click on the Option with the NEW value alert box appears this is my code $("select.actions option[value=NEW]").click(function(){ aler

  1   2   >