[jQuery] $('#tab1 tr:gt(0)td').filter(':nth-child(2n+1)') select also 1st td in row - aargghh

2009-02-26 Thread ggerri
Hi guys this drives me crazy. why does this also select the first td in each a row? $('#tab1 tr:gt(0)td').filter(':nth-child(2n+1)') Please give me a hint :-) Thanks a lot Gerald

[jQuery] Does a plugin like this excist allready

2009-02-26 Thread Armand Datema
Hi I am looking for a plugin with same functionality as http://www.bbc.co.uk/ notice the + - and when clicked it expands or contracts one. Before we start on this, is such a plugin or code allready avaiable that I missed thanks Armand

[jQuery] Re: Apply class to range of child elements

2009-02-26 Thread mkmanning
It's possible. Here's a more traditional way: $('a').each(function(i,link){ if(i10){$(link).addClass('first');} else if (i9 i20){$(link).addClass('second');} else if (i19i30){$(link).addClass('third');} else if

[jQuery] Re: Does a plugin like this excist allready

2009-02-26 Thread Frederik Ring
Just use $('#id').show(speed); and $('#id').hide(speed); See: http://docs.jquery.com/Effects/show#speedcallback

[jQuery] Re: Does a plugin like this excist allready

2009-02-26 Thread Geert Baven
cameron moll did a series on this last year http://cameronmoll.com/archives/2008/02/extensible_css_interface_the_foundation/ 2009/2/26 Armand Datema nok...@gmail.com Hi I am looking for a plugin with same functionality as http://www.bbc.co.uk/ notice the + - and when clicked it expands or

[jQuery] Re: Apply class to range of child elements

2009-02-26 Thread mkmanning
And just as an exercise, here's the 'jQuery' way chained: $('a').filter(':lt(10)').addClass('first').end().filter(':gt(9):lt (10)').addClass('second').end().filter(':gt(19):lt(10)').addClass ('third').end().filter(':gt(29)').addClass('fourth'); Not really any speed gain though. On Feb 26, 1:21 

[jQuery] SlideUp/SlideDown Causing Alignment Issues.

2009-02-26 Thread Sir Rawlins
Hello Guys, Take a look at the following example: http://www.coldbeans.co.uk/expanding_table.html Any ideas why the nested table alignment all goes tits-up when the JS gets involved? Cheers, Robert

[jQuery] Re: SlideUp/SlideDown Causing Alignment Issues.

2009-02-26 Thread mkmanning
The effects functions apply a style of display:block to the table. Try wrapping the table in a div and slide the div . On Feb 26, 1:36 am, Sir Rawlins robert.rawl...@thinkbluemedia.co.uk wrote: Hello Guys, Take a look at the following example:http://www.coldbeans.co.uk/expanding_table.html

[jQuery] Re: Question on JQuery Licensing Issue

2009-02-26 Thread Richard D. Worth
On Mon, Feb 23, 2009 at 3:48 AM, Viki gy...@hotmail.com wrote: This is Vicky from China. I came across to know JQuery last year and felt very interested in this masterpiece. My brother once adopted some features or plug-in of JQuery during his graduation thesis of designing a web

[jQuery] Re: Cancelling the behaviour of a link-initiated function

2009-02-26 Thread Bruce MacKay
I found a solution (thanks to Steven Bristol - http://codesnippets.joyent.com/posts/show/1345 - )... which namespaced the click event. Then, but detailing the id of the a tag you want to cancel, you can unbind the behaviour from that link (id) and that link only.

[jQuery] Re: SlideUp/SlideDown Causing Alignment Issues.

2009-02-26 Thread Sir Rawlins
mkmanning: You were spot on! I've updated the code in the link above making the div slidable and it works lovely :-) Thank you! o.k. see if you can help me a little further. I'm looking to identify all the parent rows which are not expanded and fade them out using a fadeTo('slow', 0.3) or

[jQuery] Get all inputs but not a specfic one?

2009-02-26 Thread heohni
Hi, is there a way to do this: $(input:checkbox- but not this one id = #notwanted - ).click (function(){ . Thanks a bunch!

[jQuery] Re: Get all inputs but not a specfic one?

2009-02-26 Thread mkmanning
$('input:checkbox:not(#notwanted)') On Feb 26, 2:39 am, heohni heidi.anselstet...@consultingteam.de wrote: Hi, is there a way to do this: $(input:checkbox    - but not this one id = #notwanted - ).click (function(){ . Thanks a bunch!

[jQuery] Re: MultiFile plugin not overwriting default options

2009-02-26 Thread phipps73
bump has anyone seen this problem? Cheers, Dave On Feb 25, 3:26 pm, phipps_73 phipp...@googlemail.com wrote: Hi, I was previously using version 1.29 of the MultiFile plugin and it was working. Then I upgrade to jquery-1.3.1 and since then the MultiFile plugin seems to fail to apply any

[jQuery] Re: Change image attribute based on variable

2009-02-26 Thread digital
Thank you very much. It took me another hour but I managed to debug the code and get it all working, thanks again. On Feb 25, 7:38 pm, Stephan Veigl stephan.ve...@gmail.com wrote: Hi, instead of doing a complicate string handling you could simply use window.location.hash: $finalurl =

[jQuery] Re: Change image attribute based on variable

2009-02-26 Thread digital
Thanks, I ended up playing around with the url before I passed it into the function, didn't realise I could do it like that. On Feb 25, 7:49 pm, brian bally.z...@gmail.com wrote: Also, $($finalurl) likely won't select anything because you're only passing the classname. It needs to be in the

[jQuery] Re: SlideUp/SlideDown Causing Alignment Issues.

2009-02-26 Thread Sir Rawlins
Ok, I've taken a stab at the next concept, I think I'm along the right track, During the toggle function I'm trying to pull all .clickable elements which dont have ID of the one just click, I can then fade thier parent().parent() to do the job. I think this will work, however, I cant get my

[jQuery] Re: Get all inputs but not a specfic one?

2009-02-26 Thread heohni
Thanks!!! On 26 Feb., 12:07, mkmanning michaell...@gmail.com wrote: $('input:checkbox:not(#notwanted)') On Feb 26, 2:39 am, heohni heidi.anselstet...@consultingteam.de wrote: Hi, is there a way to do this: $(input:checkbox    - but not this one id = #notwanted - ).click

[jQuery] Slideshow

2009-02-26 Thread Tatsujin
I’m looking for someone to do a little work for me and I wondered if one of you might be able to help. What I am essentially trying to achieve is a sliding thumbnail viewer with lightbox effects ultimately for use within Joomla 1.5. Essentially what I want to combine is the lightbox enlargement

[jQuery] Submenu on Tab

2009-02-26 Thread littlefixit
Hello, I have a series of tabs on my page that I'd like to have dynamic content inside. Throughout the course of reading over multiple issues, I've discovered that what I'd like to do most likely can be done; but I may be taking the wrong approach. First, a copy of my script block: script

[jQuery] Datepicker

2009-02-26 Thread Leroy
Hi all, I am using the jquery datepicker with the 'buttonImage'. What I am trying to do is just when the mouse is over the image, to change it to a hand rather than a pointer. Any ideas anyone? Thanks in advanced!

[jQuery] jQuery 1.3.2 Not working at all

2009-02-26 Thread Nalum
Hello All, I've just updated my jQuery to the latest and now I'm getting this error in firebug. [Exception... 'Syntax error, unrecognized expression: [...@rel^=collapse-]' when calling method: [nsIDOMEventListener::handleEvent] nsresult: 0x8057001e (NS_ERROR_XPC_JS_THREW_STRING) location:

[jQuery] HELP: a = $('pfoo/ppbar/p'); a.after('bxyz/b') not adding element

2009-02-26 Thread stephen
Hello, has anybody managed to prepend and append elements to a set of dom elements previously created on the fly with the $(html) function? I've tried with append, prepend, after, before, etc without any luck... Is there a way to do it? Stephen

[jQuery] jQuery(this + child) ?

2009-02-26 Thread Kenchu
Is there a way to do what I describe in topic? For example. jQuery(.class).click(function() { jQuery(this + a).toggleClass(highlighted); }); This doesnt work. What im trying to do is to select all the a elements within this. Is it possible to achive that somehow?

[jQuery] facing problem in datepicker

2009-02-26 Thread priya
Hi, i am tring to build datepicker by using the jquery but i am facing a problem like $(.date-pick).datePicker is not a function wven i inlcude all the plugings and javascript files and also css. please help me thanks

[jQuery] Re: Datepicker

2009-02-26 Thread MorningZ
simply apply some CSS to it span.datepicker_wrap img { cursor: pointer; } On Feb 26, 1:24 am, Leroy leroy@gmail.com wrote: Hi all, I am using the jquery datepicker with the 'buttonImage'. What I am trying to do is just when the mouse is over the image, to change it to a hand

[jQuery] Re: jQuery 1.3.2 Not working at all

2009-02-26 Thread MorningZ
Just as the error says, it isn't recognizing @ before the attribute name as this has, and well documented about being so, removed from the jQuery library so $(d...@name='foo']) needs to be $(div[name='foo']) On Feb 26, 7:12 am, Nalum mallon.l...@gmail.com wrote: Hello All, I've just

[jQuery] Re: facing problem in datepicker

2009-02-26 Thread MorningZ
if you are speaking of the UI Datepicker plugin it's $(object).datepicker() *not* $(object).datePicker() JavaScript = case sensitive On Feb 26, 7:08 am, priya priyankatiwari@gmail.com wrote: Hi, i am tring to build datepicker by using the jquery but i am facing a problem like

[jQuery] [treeview] More than three levels?

2009-02-26 Thread eemece2
Hello! Can be used more than three levels? I'm using 4 levels, but treeview only show links to expand/colapse nodes/uls in the first two levels. A sample code is: script type=text/javascript $(#browser).treeview(); /script ul id=browser class=filetree

[jQuery] Re: Hide/Show when Check Box is selected

2009-02-26 Thread nubcake
Hey! Is there any simple way to rewrite that so it works on ID:s instead on class? I have several checkboxes/hidden divs, but I only want to unhide the div that belongs to the clicked checkbox. Best regards. On Feb 18, 5:10 pm, Stephan Veigl stephan.ve...@gmail.com wrote: Hi Miguel, you can

[jQuery] Re: Var from Ajax success not defined?

2009-02-26 Thread Mike Alsup
 alert(typeof(how_many));  is string alert(how_many==undefined); is false This may help: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_get_and_use_the_server_response_from_an_AJAX_request.3F

[jQuery] Re: MultiFile plugin not overwriting default options

2009-02-26 Thread Leonardo K
I just reproduce your code here and works like a charm. On Thu, Feb 26, 2009 at 08:22, phipps73 phipp...@googlemail.com wrote: bump has anyone seen this problem? Cheers, Dave On Feb 25, 3:26 pm, phipps_73 phipp...@googlemail.com wrote: Hi, I was previously using version 1.29 of

[jQuery] Re: Compatibility Mode of jquery library

2009-02-26 Thread hinkel11
Yes, I read this already. However, my problem is that the jquery I have to change is compressed, i.e. you cannot read the code and you don't see the '$' characters. Therefore my question if there is another solution. Thanx. On 25 Feb., 22:24, James james.gp@gmail.com wrote:

[jQuery] Re: UI-sortble lists

2009-02-26 Thread Richard D. Worth
Are you looking to select them programmatically or with the mouse? You may want to have a look at jQuery UI Selectable for the latter: Demos http://jqueryui.com/demos/selectable/ Docs http://docs.jquery.com/UI/Selectable though I'm not sure if anyone's tried to use this in concert with the

[jQuery] finding eq index of clicked element

2009-02-26 Thread Liam Potter
Hi, I'm trying to find the index of a click element this doesn't work (specifically the eq part, rest is fine) this.children(a).click(function() { var eq = $(this).eq(); console.log(eq); $(this).parents(.thumbnails).children(.current).animate({left:

[jQuery] Re: Compatibility Mode of jquery library

2009-02-26 Thread MorningZ
noConflict has absolutely nothing to do with compressed or being able to see the library references $ internally regardless if it's namespaced $, jQuery, or $foo on the outside the feature does definitely work to get jQuery working alongside with mootools, it's your implementation of it's

[jQuery] Re: Var from Ajax success not defined?

2009-02-26 Thread heohni
great! Thanks a lot! On 26 Feb., 13:40, Mike Alsup mal...@gmail.com wrote:  alert(typeof(how_many));  is string alert(how_many==undefined); is false This may help: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_get_and_us...

[jQuery] Re: Sortable: zIndex conectWith IE7 - Sortable stays behind seond sortable li's in IE7(possibly others)

2009-02-26 Thread Richard D. Worth
As it relates to jQuery UI, we'd love to help you with this question over here: http://groups.google.com/group/jquery-ui Thanks. - Richard On Wed, Feb 25, 2009 at 3:25 PM, BigAB adamlbarr...@gmail.com wrote: Hi there. I did a search for zIndex IE7 but didn't seem to find this issue in

[jQuery] Re: finding eq index of clicked element

2009-02-26 Thread MorningZ
:eq is a selector, not a property (certainly a BIG difference) i'm not sure how you expected anything but nothing from var eq = $(this).eq(); do your links have IDs on them?if they did then: this.children(a).click(function() { var idx = -1; var LinkId = $(this).id;

[jQuery] Re: Hide/Show when Check Box is selected

2009-02-26 Thread Stephan Veigl
Hi the example is working on IDs (see the # in the selector). If you send a HTML snippet of your page, maybe I better understand what you mean. by(e) Stephan 2009/2/26 nubcake unniw...@gmail.com: Hey! Is there any simple way to rewrite that so it works on ID:s instead on class? I have

[jQuery] Issue with .text() and line breaks

2009-02-26 Thread AdrenalineJunkie
Im building a form parser(plugin) that will build a json object to a specific design. One problem I am having involves how I render some html and subsequently read that html. I am new to jQuery so please forgive me if I am missing something simple. Consider the following snippet

[jQuery] Re: finding eq index of clicked element

2009-02-26 Thread Liam Potter
I wanted to avoid putting id's on them, also an id has to start with a letter. I've just done this, and it works charmingly var eq = $(this).parent().children(a).index(this); MorningZ wrote: :eq is a selector, not a property (certainly a BIG difference) i'm not sure how you expected

[jQuery] Re: Hide/Show when Check Box is selected

2009-02-26 Thread nubcake
Hello again! div class=container h1GENERAL/h1 div class=left input type=checkbox name=application[] value=101a class=tooltip href=#App #1spanInfo/span/abr div id=div101[SECRET FIELD FOR App #1]/div input type=checkbox name=application[] value=100a class=tooltip href=#App

[jQuery] Re: Hide/Show when Check Box is selected

2009-02-26 Thread Stephan Veigl
Hi, 1. Hide all your divs. Maybe you could add a distinguishable class to your hidden divs, this would make the selection more readable and precise. $(.left div).hide(); 2. Add a click handler to all your checkboxes. Get the ID from the value attribute and hide / show the according div.

[jQuery] Re: Where can I get download files?

2009-02-26 Thread Webspeeder
Well, I finally got things to work. I ended up removing everything I had and starting over. I also switched to the exploded version (not the 'min' version) but I don't know if that's the issue because I haven't tried the min since I got it to work. I figure if it's working, I don't want to mess

[jQuery] Ajax reacts very slow...?

2009-02-26 Thread heohni
Hi, I have this function build: $.ajax({ type: POST, url: /ajax_add_selected_product_to_session.php?global_check, success: function(msg){ /* add here what to do on success */

[jQuery] Re: Hide/Show when Check Box is selected

2009-02-26 Thread nubcake
Thank you so much, it works like a charm! Best regards. On Feb 26, 3:01 pm, Stephan Veigl stephan.ve...@gmail.com wrote: Hi, 1. Hide all your divs. Maybe you could add a distinguishable class to your hidden divs, this would make the selection more readable and precise. $(.left

[jQuery] Can't get onclick of tab to fire....

2009-02-26 Thread webspee...@gmail.com
Hey all. I'm slowly but surely working through my tab issues. My latest is that I can't get the onclick even to fire. I copied the code, bt it won't work. Also, is there a way to fire an event when a specific tab is clicked? Here is the code I'm working with. CODE BEGIN !DOCTYPE HTML PUBLIC

[jQuery] Re: $('#foo p') or $('p', $('#foo'))

2009-02-26 Thread John Resig
The benchmark is getElementById().getElementsByTagName() - why not inlcude that in the test? But it's not that simple (it never is). That code doesn't take into account browsers, like IE, returning element that have a name equal to the ID, not does it take into account the element (with the

[jQuery] Re: Where can I get download files?

2009-02-26 Thread Richard D. Worth
On Thu, Feb 26, 2009 at 9:11 AM, Webspeeder dr...@bigrocksports.com wrote: Well, I finally got things to work. I ended up removing everything I had and starting over. I also switched to the exploded version (not the 'min' version) but I don't know if that's the issue because I haven't tried

[jQuery] jQuery UI 1.6rc6 Google Loader

2009-02-26 Thread Liam Potter
How would I include jQuery UI 1.6rc6 with the google api loader? Or do google only host the last full releases?

[jQuery] Re: jQuery UI 1.6rc6 Google Loader

2009-02-26 Thread Richard D. Worth
On Thu, Feb 26, 2009 at 9:51 AM, Liam Potter radioactiv...@gmail.comwrote: How would I include jQuery UI 1.6rc6 with the google api loader? Or do google only host the last full releases? Yup, just final releases. We're trying to get the 1.7 final release out asap, and google will have it up

[jQuery] How to Open Modal Dialog box on button click?

2009-02-26 Thread bittermonkey
Once btnAddSession button is clicked, the div with the addproductsForm ID should open as a modal dialog box. In Firefox it opens properly while in IE it submits the page even with return false; HTML --- h3Products/h3 !-- Placeholder for ajax results -- div

[jQuery] Re: changing value of hidden input

2009-02-26 Thread Theorix
Hi Michael, thank you very much for your solution which quite works out for me. But now I have a question: What if I want to populate my input field with more than one account or name? How do I update the code for the inputhidden in order to display both ids? Any solution would be great!

[jQuery] Strange double hits on selectors?

2009-02-26 Thread Dragan Espenschied
Dear List, i am using jquery 1.3.1 and encountered the following issue: With the CSS class int i want to mark input fields that only accept numerical keyboard input. When i started to add the feature that arrow up increases and arrow down reduces the input value, i found out that the

[jQuery] Fixing a jQuery plugin (will pay for help)

2009-02-26 Thread jitz
Hello, I've recently worked with a freelancer that developed a jQuery plugin for me, he did a good job, but unfortunately - he couldn't finish it... It is a RTE (Rich Text Editor) plugin (WYSIWYG - What you see is what you get), which works pretty good, there are only a few bugs left that needs

[jQuery] Passing JSON objects to a Web Method

2009-02-26 Thread Mahesh
Hello, How do I pass a JSON object to a server side web method as a parameter? For example: I have the following JSON object. var person = { firstName : John, lastName : Doe, age : 23 }; and I want to pass this object in the data: {} block. Is it

[jQuery] Superfish current color

2009-02-26 Thread Adeus33
I'm using a horizontal (nav-bar style) Superfish menu. I have a white background with black text in the nav bar. When I hover over it, it changes to green background with white text. The problem is, when I am not hovering over a menu item (i.e. I am in the sub-nav, or nowhere in the menu) the

[jQuery] Superfish Menu Keyboard Access

2009-02-26 Thread Mike Williams
I was wondering if there are any methods that are currently in place to allow keyboard shortcuts to focus Superfish menuitems. Also, is it currently possible to press a keyboard shortcut combination to focus a parent menu item and have it display the submenu's underneath it? I would use the

[jQuery] Re: Can't get onclick of tab to fire....

2009-02-26 Thread Richard D. Worth
Your code sample doesn't have version numbers. Can you verify you're using compatible versions of jQuery and jQuery UI? jQuery UI 1.5.3 is only compatible with jQuery 1.2.6 jQuery UI 1.6rc6 is only compatible with jQuery 1.3+ Also note, there's a separate list for jQuery UI help (as opposed to

[jQuery] Re: jQuery(this + child) ?

2009-02-26 Thread Tze Yang Ng
Try the following: jQuery(.class).click(function() { jQuery('a',this).toggleClass(highlighted); } Cheers == On Thu, Feb 26, 2009 at 7:46 PM, Kenchu sweken...@gmail.com wrote: Is there a way to do what I describe in topic? For example. jQuery(.class).click(function() {        

[jQuery] Re: jQuery Form Plugin ROOKIE in need of help :(

2009-02-26 Thread Brian Long
James, (and all) Thanks a lot for the help - I'm now seeing all of the things I want in firebug. I'm getting an XHR respose (is this the proper terminology? Is XHR always a request? regardless...) I'm getting a response from my script which includes a script tag (with functions) and an HTML

[jQuery] Re: jQuery Form Plugin ROOKIE in need of help :(

2009-02-26 Thread Brian Long
CLARIFYING: I have two different URL's between my form's action and my url set in the options that are sent to $('#myForm').ajaxForm(options) I did that just because in earlier testing I was trying to confirm that the URL used in my options variable would actually override the value that was

[jQuery] Re: [treeview] More than three levels?

2009-02-26 Thread eemece2
Sorry, the question is about treeview plugin. (the subject included [treeview], the plugin name what I'm asking about, but now I don't see that name in it.) Thanks, eemece2 eemece2 ha escrito: Hello! Can be used more than three levels? I'm using 4 levels, but treeview only show links to

[jQuery] Issue with Supersubs plug-in

2009-02-26 Thread yak
Hi, I have a problem with one of my drop down menus acting erratically due to a possible conflict with the supersubs plug-in. The highlighted menu option extends beyond the edge of the display. It only seems to be a problem with only one of the menu options. The others work fine and I've tried

[jQuery] Re: Where can I get download files?

2009-02-26 Thread webspee...@gmail.com
Yeah. I have the latest. To be sure, I just downloaded the latest version of jquery and I got the 6src6 UI, I just downloaded the latest of that too. Does the code look good? On Feb 26, 9:46 am, Richard D. Worth rdwo...@gmail.com wrote: On Thu, Feb 26, 2009 at 9:11 AM, Webspeeder

[jQuery] Re: Where can I get download files?

2009-02-26 Thread webspee...@gmail.com
Would you be able to cut and paste the code above and see if it works for you? On Feb 26, 11:18 am, webspee...@gmail.com webspee...@gmail.com wrote: Yeah. I have the latest. To be sure, I just downloaded the latest version of jquery and I got the 6src6 UI, I just downloaded the latest of that

[jQuery] Problem with supersubs plug-in - 2nd repost because of problem with links

2009-02-26 Thread yak
Hi, I'm reposting this since there was a problem with the picture links in the previous posting. I have a problem with one of my drop down menus acting erratically due to a possible conflict with the supersubs plug-in. The highlighted menu option extends beyond the edge of the display. It

[jQuery] Re: HELP: a = $('pfoo/ppbar/p'); a.after('bxyz/b') not adding element

2009-02-26 Thread mkmanning
For those methods to work, the html has to be part of the DOM first. On Feb 26, 3:33 am, stephen stephen.cant...@gmail.com wrote: Hello, has anybody managed to prepend and append elements to a set of dom elements previously created on the fly with the $(html) function? I've tried with

[jQuery] Re: Malsup Form Plugin and Cross Domain issues

2009-02-26 Thread lunaroja
That makes sense... I guess I don't really need a repose from the server. I have verified that they are accepting data and it's going into the database. Can I just use the .ajaxForm() and to send the data use the beforeSubmit display my thank you message and do a return false; to not let it

[jQuery] Overlay not working on jquery-ui-personalized-1.6rc6.min.js

2009-02-26 Thread bittermonkey
This is my code: --- script language=javascript type=text/javascript src=/js/ jquery-1.3.2.min.js/script script language=javascript type=text/javascript src=/js/ jquery-ui-personalized-1.6rc6.min.js/script

[jQuery] Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread AndreMiranda
Hi everyone!! Well... for me it's just the same thing, but I don't know why this works in 1.2.6 and doesn't in 1.3.1: if ($('.trSelected').length == 2) { alert(hello); } In this case, I'm selecting rows on flexigrid and used to work just fine in 1.2.6. To work in 1.3.1, I had to do

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread Eric Garside
Can you provide some HTML to go along with this? There's not enough info present to properly determine the issue. On Feb 26, 12:47 pm, AndreMiranda acymira...@gmail.com wrote: Hi everyone!! Well... for me it's just the same thing, but I don't know why this works in 1.2.6 and doesn't in

[jQuery] Re: Passing JSON objects to a Web Method

2009-02-26 Thread David Meiser
Are you talking about an ASP.NET web method? If you are, I think that you'll find it pretty easy using this: $.ajax({ type: POST, contentType: application/json; charset=utf-8, url: myWebService.asmx/myWebMethod, data:

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread AndreMiranda
Hi Eric! I showed this problem with Flexigrid selected rows, but the problem is with a specific class attribute to several elements. For example, If I have 2 links with class attribute clickMe and I do: $(.clickMe).click(function(){ alert(this is a test); }); only the FIRST link works. In

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread James
Could you set up a test page for us that demonstrates this issue? On Feb 26, 8:02 am, AndreMiranda acymira...@gmail.com wrote: Hi Eric! I showed this problem with Flexigrid selected rows, but the problem is with a specific class attribute to several elements. For example, If I have 2 links

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread AndreMiranda
Hi James! Where can I set up a test page? Thanks!! On 26 fev, 15:06, James james.gp@gmail.com wrote: Could you set up a test page for us that demonstrates this issue? On Feb 26, 8:02 am, AndreMiranda acymira...@gmail.com wrote: Hi Eric! I showed this problem with Flexigrid selected

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread Eric Garside
Do you have a demo page up somewhere that displays these errors? That code looks perfectly valid, and I've not noticed any errors in 1.3.1, so I'm not sure what could be causing it. I threw up a jsbin test on it, and it seems to work fine. http://jsbin.com/aputa/edit On Feb 26, 1:02 pm,

[jQuery] Re: Can't get onclick of tab to fire....

2009-02-26 Thread Klaus Hartl
On 26 Feb., 16:14, Richard D. Worth rdwo...@gmail.com wrote: Your code sample doesn't have version numbers. Can you verify you're using compatible versions of jQuery and jQuery UI? jQuery UI 1.5.3 is only compatible with jQuery 1.2.6 jQuery UI 1.6rc6 is only compatible with jQuery 1.3+

[jQuery] Re: Where can I get download files?

2009-02-26 Thread Richard D. Worth
I just looked through the thread and I'm not sure what code you mean. A pastie would be great ( http://paste.pocoo.org/ or http://jsbin.com/ ). Thanks. - Richard On Thu, Feb 26, 2009 at 11:20 AM, webspee...@gmail.com webspee...@gmail.com wrote: Would you be able to cut and paste the code

[jQuery] Re: Ajax reacts very slow...?

2009-02-26 Thread James
I don't think it's the append that's taking long. It seems more like the AJAX request and response (which might differ depending on your location, of course) that's holding things up. Here's what's happening for me. Everytime I click on a checkbox, an AJAX call is made to:

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread AndreMiranda
Man, I really don't know why my code is working this way... it's frustrating... I really don't wanna go back to 1.2.6... On 26 fev, 15:08, Eric Garside gars...@gmail.com wrote: Do you have a demo page up somewhere that displays these errors? That code looks perfectly valid, and I've not

[jQuery] Re: Where can I get download files?

2009-02-26 Thread webspee...@gmail.com
http://paste.pocoo.org/show/105601/ On Feb 26, 1:15 pm, Richard D. Worth rdwo...@gmail.com wrote: I just looked through the thread and I'm not sure what code you mean. A pastie would be great (http://paste.pocoo.org/orhttp://jsbin.com/). Thanks. - Richard On Thu, Feb 26, 2009 at 11:20 AM,

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread Eric Garside
Can you share your code? The small snippets you've shared indicate no problem. I threw up the jsbin test to confirm that it's not jquery 1.3 that's causing the error. We can't really help unless you post the full sample of your code that's broken, or give us a url we can check out and test. On

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread AndreMiranda
$(document).ready(function() { //chama a função de Tip reiniciaTip(); //arredonda fundo cinza do DatePicker e da drop down list de agendas $(#divCinza).corner(); //DatePicker $(#divDatePicker).datepicker({ defaultDate: new

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread AndreMiranda
$(document).ready(function() { //chama a função de Tip reiniciaTip(); //arredonda fundo cinza do DatePicker e da drop down list de agendas $(#divCinza).corner(); //DatePicker $(#divDatePicker).datepicker({ defaultDate: new

[jQuery] Re: Overlay not working on jquery-ui-personalized-1.6rc6.min.js

2009-02-26 Thread Richard D. Worth
The overlay in 1.6rc6/1.7 is no longer specified as an option, but is part of the jQuery UI CSS Framework. If you have a jQuery UI Theme, it will have a default overlay style which you can modify or overide, using css in a stylesheet, rather than in js. If you need any further help, please note

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread AndreMiranda
$(document).ready(function() { //chama a função de Tip reiniciaTip(); //arredonda fundo cinza do DatePicker e da drop down list de agendas $(#divCinza).corner(); //DatePicker $(#divDatePicker).datepicker({ defaultDate: new

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread brian
Maybe it's just a typo (and unrelated) but you have spaces in both div .detalhes a .clickMe. On Thu, Feb 26, 2009 at 1:27 PM, AndreMiranda acymira...@gmail.com wrote: $(document).ready(function() {        //chama a função de Tip        reiniciaTip();        //arredonda fundo cinza do

[jQuery] Need nested tabs...

2009-02-26 Thread webspee...@gmail.com
Hey all. Can anyone show me code to create nested tabs that work in the latest version of jquery? I see plenty of examples in previous versions but I can't get them to work. I have a single line of tabs working fine, but I need nested tabs. Any help would be appreciated. ...

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread Eric Garside
Actually, the space is telling jquery that you want sub elements, not the actual elements. a .clickMe will match: aspan class=clickMe/span/a but not a class=clickMe/a If you want a tag with a class, you can't add a space. On Feb 26, 1:41 pm, brian bally.z...@gmail.com wrote: Maybe it's

[jQuery] Re: Problem with class attribute: Why this work in 1.2.6 and doesn't work on 1.3.1???

2009-02-26 Thread AndreMiranda
But why (.detalhes) doesn't work and (div .detalhes) works??? thanks!! On 26 fev, 15:44, Eric Garside gars...@gmail.com wrote: Actually, the space is telling jquery that you want sub elements, not the actual elements. a .clickMe will match: aspan class=clickMe/span/a but not a

[jQuery] Re: jQuery(this + child) ?

2009-02-26 Thread Pappy
as an alternative, you could do something like: jQuery(.class).click(function() { jQuery(this).toggleClass(highlighted); }) then, in your CSS .class a { color: black; } .class.highlighted a { color: red; } On Feb 26, 7:40 am, Tze Yang Ng ngt...@gmail.com wrote: Try the following:

[jQuery] Select change, multiple selects

2009-02-26 Thread dwalls32
Hi everyone. I'm fairly new to jquery and I am kinda perplexed with this issue. I've got a page (dashboard.php) with 2 select boxes. The first select box triggers the jquery script below, which populates the 2nd box with values: /// script type=text/javascript

[jQuery] Resizable: aspectRatio bugs with containment?

2009-02-26 Thread Leandro Alves
Hi Folks, I'm new with jquery ui, but it seens that there is a bug with the aspectRatio when used with the containment parameter. When you're resizing and the #crop object hits the border of the containment .image, it loses its aspect ratio and keep resizing in the other axis. For example, if

[jQuery] Ajax request -- passing additional paramters to success method

2009-02-26 Thread P Burrows
Is anyone aware of a way to pass some additional context information to the success function of an ajax request? For instance, here is my code which works fine: $.ajax({ type: GET, dataType: json, url: tUrl, success: GotNewData, error: GetDataError,

[jQuery] How to use superfish menu style

2009-02-26 Thread jay
Dear All, Please help me in installing and using superfish menu in my website. I downloaded the file but I don't know how to make it work in my website for the menus. Thanks in advance Jay

[jQuery] Pagination control jquery -- Need some help

2009-02-26 Thread Doug C
I wrote this jquery to basically dynamically build a paging control for long articles, etc I have it dynamically generating a UL, a page selector and a drop down selector and I just need to write a piece that will do a -Prev and Next - and my brain is having trouble with it. Here is the code

[jQuery] Re: Ajax request -- passing additional paramters to success method

2009-02-26 Thread P Burrows
Nevermind... I can do it with lambdas. -- Patrick Burrows http://www.CleverHumans.com On Thu, Feb 26, 2009 at 11:50 AM, P Burrows pburr...@gmail.com wrote: Is anyone aware of a way to pass some additional context information to the success function of an ajax request? For instance, here is

[jQuery] A way to POST this?

2009-02-26 Thread bheesham
Here is my code: http://pastebin.com/m2c7d97bd Now you see i want to post lol. When you load the page, it will POST to this form: http://pastebin.com/m4cf4 Now my problem is that it does not POST lol... it doesn't even post anything. Is there a way to do this? I've been searching for a

  1   2   3   >