[jQuery] Re: Can I get the contents from respose by ajax

2009-01-12 Thread David .Wu
And I found the load is not work either, because it still get the construct not the value for example div id=test/div $(document).ready(function) { $('#test').load('ajax.php #a'); }); and the result was div id=testdiv id=a123/div/div, what I exactly want is div id=test123/div On

[jQuery] Re: Simulate BackSpace key

2009-01-12 Thread RSol
Thank to all! I do it! function setCursorPosition(textArea, selOffset) { if (document.selection) { // IE, Opera var sel = document.selection.createRange(); sel.collapse(true); sel.moveStart('character', selOffset); textArea.focus(); sel.select();

[jQuery] Re: Simulate BackSpace key

2009-01-12 Thread RSol
What do movePrev() and .moveNext() function? I know'n that functions in jQuery. On 12 янв, 09:48, ggerri a...@ggerri.com wrote: Hi I've done something similar with the Tab. Maybe that helps. You'll need the FIELDS Plugin for that: $(#PG1_L02-4-5)                

[jQuery] Re: Can I get the contents from respose by ajax

2009-01-12 Thread Balazs Endresz
Use filter with $.ajax: $('#response').html($(res).filter('#a').text()); On Jan 12, 9:30 am, David .Wu chan1...@gmail.com wrote: And I found the load is not work either, because it still get the construct not the value for example div id=test/div $(document).ready(function) {

[jQuery] Re: jQuery 1.3rc1 error with :not()

2009-01-12 Thread Enrique Meléndez Estrada
I have 3 html TABLES in my DOM, $('table:not(:first)').length() gave me 2 (correct) tables in 1.2.6 gives me 5?? tables in 1.3rc1 El 12/01/2009 3:15, John Resig escribió: Hey Everyone - jQuery 1.3rc1 is ready. This means that 1.3 is effectively finished barring a horrible bug between now

Re: Fw: [jQuery] Re: IMAP PHP is possible or not !!!!

2009-01-12 Thread jQuery Lover
Sorry, what do you mean? - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 11, 2009 at 7:01 PM, bharani kumar bharanikumariyer...@gmail.com wrote: So , need to increase the speed, i thing my english is very poor, On Sun, Jan 11, 2009 at 7:30 PM,

[jQuery] Dialog - Can't Copy or Select Text

2009-01-12 Thread sirmoreno
Hi, I Set up a JQuery Dialog in my site. But in FF the user can't select or copy text from the Dialog. And in IE Ctrl + C doesn't work after selecting a text. Another Question: how to disable the resizing of the Dialog. Thanks Rafael.

[jQuery] Re: Saving HTML as an image...

2009-01-12 Thread Paul Koppen
However, drawing using javascript *is* possible. You need the canvas tag. There is a public script that makes it possible to have one solution for both IE and Mozilla and Safari. Do check though, whether the user can do save as. I'm not sure. Another thing is, it doesn't involve jQuery... :( Good

[jQuery] jQuery.noConflict() is not working

2009-01-12 Thread Bluesapphire
Hi! I am using following things in separate JS file: a- var dom = {}; dom.query = jQuery.noConflict(true); b- var jQ = jQuery.noConflict(); c- jQuery.noConflict(); Neither of above work and Firbug gives error. But $ works perfectly. Can some one guide me where I am

[jQuery] function text() in jquery

2009-01-12 Thread kazuar
hello, Im kinda new in jquery so maybe its a begginer question. I have a page with a div containing some text and a combobox. something like that div id=testText hello this is text and this is combobox selectoption value='1'1/optionoption value='2'2/optionoption value='3'3/option/select/div

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Genus Project
when the table is generated by server side code, are you sure you are calling the correct selector (#+serverIdPrefix+table1) ? maybe you missed some letter or something. you can use firebug to examine the generated table html to see if you are in fact calling the correct selector. If you are, it

[jQuery] Is there a delay when passing data to trigger method?

2009-01-12 Thread Genus Project
I have this strange problem. what i notice is when i am sending an AJAX request then i get the response say in xxx ms. but it takes additional seconds to pass the response data to an element. to make it clear here is what im doing. 1. register a custom event listener on a particular element. 2.

[jQuery] AJAX delay response.

2009-01-12 Thread Genus Project
Could anyone tell me what is wrong with this code? :( function sendAjaxRequest(param,listener){ $.ajax({ type: POST, dataType: json, url: index.php?page=ajax, data: param, success: function(data){ if(data.status==0){ $(#+listener).trigger('trueSuccess',[data]);

[jQuery] load script regarding to value of textfield

2009-01-12 Thread dirk w
hello community, i have some kind of a beginner question and i really would appreciate if you could help me with that. when someone types a value into the textfield and clicks on search or enter than the javascript line should be called regarding to the entered value. this should happen without

[jQuery] Re: Problem with creating dynamic html...

2009-01-12 Thread Nedim
Thank you. I will check it later. On Jan 11, 3:01 pm, Mike Alsup mal...@gmail.com wrote: This is in html (by default)       input type=hidden id=brojacgrupa value=1 /       div id=grupe          div id=grupa1 class=grupa              input type = hidden id=grupa1 value=1/            

[jQuery] Re: jQuery.noConflict() is not working

2009-01-12 Thread MorningZ
There's no reason why any of those wouldn't work You need to provide more information/live-sample-page to help others help you rest assured that the .noConflict functionality does indeed work On Jan 12, 3:47 am, Bluesapphire michealg...@gmail.com wrote: Hi!     I am using following things in

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
in the runat=server version, put alert($(#+serverIdPrefix+table1).length)); right before the tablesorter line believe me, as a .NET programmer myself, the runat=server is *not* causing tablesorter (or jQuery) to break, you definitely are not jQuery-selecting the table properly On Jan 12,

[jQuery] How to grab the filename (src attribute) of an image?

2009-01-12 Thread webmas...@terradon.nl
Hi all, how do i grab the filename of an image? Situation now: i use normal javascript when clicking on an image and just inserted some jquery to post gamedata to update a gamepage with the help of the taconite plugin (returns xml-data), so far so good. I just miss one item = i need the

[jQuery] Re: How to grab the filename (src attribute) of an image?

2009-01-12 Thread Mauricio (Maujor) Samy Silva
$('img').click(function() { var fileName = $(this).attr('src'); alert(fileName); }); Maurício -Mensagem Original- De: webmas...@terradon.nl Para: jQuery (English) jquery-en@googlegroups.com Enviada em: segunda-feira, 12 de janeiro de 2009 10:59 Assunto: [jQuery] How to grab the

[jQuery] [treeview] Expand the trees on the image and no link

2009-01-12 Thread cv
Hello, I would like to know how to: - Permetre the conduct of a tree by clicking on the image (or file folder with a +) but when and clicking on the hyperlink (a href=index.php blabla / a ) the tree does not take place. Thank you for your help.

[jQuery] Posting Repeating Ajax Requests

2009-01-12 Thread Adeel Shahid
Is there some like quering for repeating Ajax requests. like i want to query a url via ajax every 2 seconds is there an option natively in jquery for that currently I am using setInterval('func()', 2000) i just wanted to know if there is anything natively available.

[jQuery] [treeview] Expand the trees on the image and no link

2009-01-12 Thread cv
Hello, I would like to know how to: - Permetre the conduct of a tree by clicking on the image (or file folder with a +) but when and clicking on the hyperlink (a href=index.php blabla / a ) the tree does not take place. Thank you for your help.

[jQuery] Correct me!

2009-01-12 Thread Bluesapphire
Hi! I have used following things in separate JS file so no conflict will be there between JQUERY and other JS frameworks. a- var dom = {}; dom.query = jQuery.noConflict(true); b- var jQ = jQuery.noConflict(); c- jQuery.noConflict(); But when I used jQ or others, FireBug gives error.

[jQuery] Re: How to grab the filename (src attribute) of an image?

2009-01-12 Thread jQuery Lover
I believe he/she is binding an event with javascript not jquery's event binding. Webmaster you can refer to an element which was clicked with this keyword. So to get your image source just use this.src property. Example: img src=... onClick=alert(this.src) / The same when applying with event

[jQuery] Re: Correct me!

2009-01-12 Thread jQuery Lover
User this sintax: (function ($) { // code goes here // Here $ is a jQuery reference })(jQuery) More detailed description is here: http://jquery-howto.blogspot.com/2008/12/what-heck-is-function-jquery.html - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On

[jQuery] Re: append() not working on dynamically-created nodes in IE

2009-01-12 Thread Joe White
Yep, that was all it took. Thanks! On Jan 11, 3:43 pm, Karl Rudd karl.r...@gmail.com wrote: Try closing the tag, ie: $('#myDiv').append($('h2/h2')); Actually the second $() shouldn't be needed: $('#myDiv').append('h2/h2'); Karl Rudd On Mon, Jan 12, 2009 at 7:35 AM, Joe White

[jQuery] Form validation, not typical name of input.

2009-01-12 Thread grassoalvaro
Hi, i have problem with validation for my form. For example: form id=valid input type=text name=data[Order][login] / /form $('#valid').validation({ rules: { 'data[Order][login]': 'required', } }); The validation method above dosn't work. Where is the problem? With not typical name of input?

[jQuery] Re: [treeview] Expand the trees on the image and no link

2009-01-12 Thread jQuery Lover
Did I understand you correctly. Your html code is like this: img/ a href=link/a And you want to show tree content if user clicks on an image, but follows the link on anchor click? If so you should give you img's an id (or class, but id's are faster) and do this: $(document).ready(function(){

[jQuery] Re: Form validation, not typical name of input.

2009-01-12 Thread grassoalvaro
Nevermind, it's working, problem was in other place. On 12 Sty, 14:19, grassoalvaro grassoalv...@yahoo.com wrote: Hi, i have problem with validation for my form. For example: form id=valid input type=text name=data[Order][login] / /form $('#valid').validation({ rules: {

[jQuery] Re: Form validation, not typical name of input.

2009-01-12 Thread jQuery Lover
You might find this useful (just as a note for the future) http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 12, 2009 at 6:40 PM,

[jQuery] Re: function text() in jquery

2009-01-12 Thread kazuar
anyone? kazuar wrote: hello, Im kinda new in jquery so maybe its a begginer question. I have a page with a div containing some text and a combobox. something like that div id=testText hello this is text and this is combobox selectoption value='1'1/optionoption

[jQuery] Re: Posting Repeating Ajax Requests

2009-01-12 Thread jQuery Lover
There is no option in jquery for auto requests in a set period of time. The javascript native setInterval() is a better option don't you think ?! - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 12, 2009 at 4:50 PM, Adeel Shahid

[jQuery] Re: function text() in jquery

2009-01-12 Thread jQuery Lover
This is quite tricky. I could not figure out how to get the text (probably I should go home:) ). If there is no other solution here is a dirty trick: var tmp = $('#testText select'); //remove the select box $('#testText select').remove(); // get the text within the div var txt =

[jQuery] Re: function text() in jquery

2009-01-12 Thread Balazs Endresz
$(#testText).clone().remove('select').text() won't work as the remove method doesn't remove the elements from the jQuery object, just from the DOM. Here's how it should work: var e = $(#testText).clone(); var select = e.find('select')[0]; e[0].removeChild(select); alert( e.text() ); On Jan 12,

[jQuery] Re: jQuery UI Tabs Flash

2009-01-12 Thread tlphipps
This is because of how browsers work. What's happening is that the browser is downloading all the HTML and beginning to display it. Then when the DOM is 'ready', jquery is running the code you've specified which creates the tab interface. To avoid this issue you have to use CSS to 'hide' the

[jQuery] Re: load script regarding to value of textfield

2009-01-12 Thread jQuery Lover
Try this: $('#searchButton').click(function(){ var url = 'script type=text/javascript src=http://gdata.youtube.com/feeds/api/videos?q=' + $('#searchText').val() + 'alt=json-in-scriptcallback=showMyVideosmax-results=7format=5/script'; // ajax functions to call $.ajax, $.load, $.get, $.post

[jQuery] Re: Dialog - Can't Copy or Select Text

2009-01-12 Thread jQuery Lover
You can set resizable option to true/false (read docs http://docs.jquery.com/UI/Dialog/dialog#options) - Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 12, 2009 at 1:41 PM, sirmoreno sirmor...@gmail.com wrote: Hi, I Set up a JQuery Dialog in my

[jQuery] Re: Thickbox and Yahoo Stores

2009-01-12 Thread MikeFCraft
it won't be very useful but here's a snippet with the site itself removed: a class=thickbox href=http://site.example.com/Scripts/theFile.htm? modal=falseamp;height=500amp;width=720Click Here To Open Thickbox/ a when you click that link you get the thickbox loading animation and the rest of the

[jQuery] Meta Data within elements

2009-01-12 Thread alexquery
I am creating a product/category tree using jquery. I would like to be able to store additional data within each node. The nodes in my tree are basicaly list elements. How would I add data to these elements such as the count of products and categories beneath them ? I tried this method.

[jQuery] auto testing/parsing/scraping javascript/ajax webistes

2009-01-12 Thread bruce
Hi List! Trying to get my head/hands around how to web scrape/test websites that use javascript/ajax libraries... Are there any tools/suggestions that you might suggest in this area. Basic/initial research for google suggests that things like seamonkey, and/or headless browser apps might work.

[jQuery] Re: Simplemodal causes validators to fire on webform

2009-01-12 Thread tawright915
would this work if I have some fields using the jquery validate plugin (for masked fields) and some using the MS required field validator? Tom On Jan 10, 1:13 am, jQuery Lover ilovejqu...@gmail.com wrote: You probably binding your validators to ALL input[type=submit] or to some class (Ex:

[jQuery] Re: function text() in jquery

2009-01-12 Thread besh
Hello, maybe it could be easier to use the good old DOM in this scenario: var textNode = $('#testText').get().firstChild; // now we have the textNode var textRaw = textNode.nodeValue; // now we have the text string with all the white-space around var text = $.trim(textRaw); // we strip the

[jQuery] Re: Simplemodal causes validators to fire on webform

2009-01-12 Thread tawright915
I figured it out. The close button on my modal panel was set to causes validation = true. I set that to false and all works fine. Thanks for the help. Your post got me thinking about that. Tom On Jan 10, 1:13 am, jQuery Lover ilovejqu...@gmail.com wrote: You probably binding your validators

[jQuery] Re: Anyway to highlight words accents-insensitive?

2009-01-12 Thread Alex Tercete
So, I tried something similar to what I had in mind and was able to get it working. I'll put it here in case anyone wants it: # ORIGINAL CODE # highlight: function(value, term) { return value.replace(new RegExp((?![^;]+;)(?![^]*)( +

[jQuery] Re: Need help with a Jquery toggle bug in my menu's

2009-01-12 Thread Ted
I implemented your fix and unfortunately, the issue remains. To further demonstrate the problem, I've added some YouTube videos to the page to simulate the Flash components I have on my main example. Now, if you load the page, and then the on one of the main menu items to reload the page, keep

[jQuery] Re: Calling images programatically from a database?

2009-01-12 Thread tovi
Well, I figured out a solution. Just in case someone in the future has the same problem as me, here's what I did: (1) Delete all that script in the head section (2) Do this in the body: a href=%%picture%% rel=lyteboximg style=display:none src=% %picture%% onLoad=this.style.display='block'

[jQuery] Re: Calling images programatically from a database?

2009-01-12 Thread tovi
Well, I figured out a solution. Just in case someone in the future has the same problem as me, here's what I did: (1) Delete all that script in the head section (2) Do this in the body: a href=%%picture%% rel=lyteboximg style=display:none src=% %picture%% onLoad=this.style.display='block'

[jQuery] Examples of great plugin documentation?

2009-01-12 Thread Mika Tuupola
I am about to rewrite documentation of Jeditable plugin (has been on my TODO list for a while). While putting together some notes it would be great if people from list could send me links to other plugin documentation you have found to be well structured or written. -- Mika Tuupola

[jQuery] Re: function text() in jquery

2009-01-12 Thread kazuar
Hi, I thank you all for your help. I guess I'll go with Bohdan's suggestion. I'll put the text inside another tag (probably p tag...). thanks again for all your help, if you think of anything else please let me know. Kazuar Bohdan Ganicky wrote: Hello, maybe it could be easier to

[jQuery] Re: load script regarding to value of textfield

2009-01-12 Thread dirk w
thanks a lot for your help! is it possible to additionally explain me how i can execute this link through the ajax functions? that would be great! thanks in advance On 12 Jan., 15:53, jQuery Lover ilovejqu...@gmail.com wrote: Try this: $('#searchButton').click(function(){   var url =

[jQuery] autocomplete

2009-01-12 Thread rhythmicde...@gmail.com
Hi all new to the group and jQuery in general. I just installed the very cool autocomplete plugin yesterday and have it working in the following scenarios: $(#example).autocomplete(data); Where data is a local string as shown in the examples. $(#example).autocomplete('get_data.php'); Where the

[jQuery] [jCarousel] Extend to pass XML feed as an argument

2009-01-12 Thread Josh
I'm setting up a site that uses jCarousel in a variety of places (and for that I must thank Jan, it's a great tool); the sliders are all going to look similar but all will use slightly different XML for the ajax portion. What I would like to be able to do would be to pass this feed as an argument

[jQuery] Smooth animation

2009-01-12 Thread meneldor
Hi, group. Im trying to make animation using jquery, but its controlled server side using XMLSocket. When jQuery receive coordinates from server it moving my DIV across the browser but its too fast. I cant understand how to do smooth animation. My server script (perl) compute the same x,y

[jQuery] Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
Hi, all... I prefer to use .fadeIn(500), etc., to bring elements onto a page, as it gives the user a chance to keep up with changes being made visually. However, .fadeIn leaves text looking *u-ga-ly*... changing .fadeIn to .show leaves text nicely rendered in the browser. Is there some trick

[jQuery] Re: Examples of great plugin documentation?

2009-01-12 Thread Giovanni Battista Lenoci
Mika Tuupola ha scritto: I am about to rewrite documentation of Jeditable plugin (has been on my TODO list for a while). While putting together some notes it would be great if people from list could send me links to other plugin documentation you have found to be well structured or

[jQuery] Hierarchy Checkbox Tree

2009-01-12 Thread bmclaughlin
I am hoping that someone has done this before. I am after something like this: http://static.geewax.org/checktree/index.html I will explain why this fine example does not work for my instance below. The behavior of the “United States” section in particular is what we are after. If a parent

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Mike Alsup
However, .fadeIn leaves text looking *u-ga-ly*... changing .fadeIn to .show leaves text nicely rendered in the browser. Is there some trick or other way to cause the browsers to render text that has been faded in looking good? IE is the only browser that struggles with this. Here's a hack:

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Mauricio (Maujor) Samy Silva
Are you talking about Internet Explorer browser? If so, have a look in the following article: http://www.kevinleary.net/blog/jquery-fadein-fadeout-problems-in-internet-explorer/ Maurício -Mensagem Original- De: Rick Faircloth r...@whitestonemedia.com Para: jquery-en@googlegroups.com

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
Can I also use table sorter with datagrid control? Thanks Varun On Mon, Jan 12, 2009 at 4:26 AM, MorningZ morni...@gmail.com wrote: in the runat=server version, put alert($(#+serverIdPrefix+table1).length)); right before the tablesorter line believe me, as a .NET programmer myself,

[jQuery] Re: autocomplete

2009-01-12 Thread Jörn Zaefferer
JSON support is still a bit rough. Here is an example, the parse-option is something we want to improve a lot in the future: http://jquery.bassistance.de/autocomplete/demo/json.html Jörn On Mon, Jan 12, 2009 at 4:34 PM, rhythmicde...@gmail.com rhythmicde...@gmail.com wrote: Hi all new to the

[jQuery] Re: How to grab the filename (src attribute) of an image?

2009-01-12 Thread webmas...@terradon.nl
Thanks for the answers, i see some daylight now, but i already have a normal onclick event on the image, triggering my normal js function: squareClicked(row,col,isEmpty) { // my other normal js function // with jquery : showing message div // my jquery post to taconite plugin page,

[jQuery] radio buttons in tablesorter

2009-01-12 Thread Soledad Zubiri
Hello , I'm having a problem with radio button in a table: I have a table that has the option to select the required row through a radio button. But the problem is that if I sort the table (by any column) after selecting some row, the selection goes off. Is there any way to maintain the state of

[jQuery] Re: autocomplete

2009-01-12 Thread Steven Wright
Thanks Jörn I appreciate you taking the time to help me out. Steve -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jörn Zaefferer Sent: Monday, January 12, 2009 12:18 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re:

[jQuery] table striping - skip hidden rows

2009-01-12 Thread rolfsf
I have a table with multiple tbody's. Within each tbody there are a number of rows that can be hidden or shown by clicking on a link. I'm using the following function to stripe alternating rows: jQuery.fn.stripeTable = function(){ $(this).find(tbody

[jQuery] Re: Need help with a Jquery toggle bug in my menu's

2009-01-12 Thread Ted
And here's the URL again: http://dl.getdropbox.com/u/21984/menu_test/menu_test.html On Jan 10, 11:56 am, jQuery Lover ilovejqu...@gmail.com wrote: I suggest you take the other way. We shall not forget about beloved CSS :) Try this: $(document).ready(function(){   $('#nav li')    

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
Also, to get around the problem : I made a div around the table : div id=tableDiv table id=table1 cellspacing=1 class=tablesorter // table content here /table /div I used this jquery after making div: $(#tableDiv).each(function(){ $(this).find(table).each(function() {

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
Thanks for the reply, Mauricio, but I couldn't get your solution to work. Adding the background (at least in IE 7) didn't have any effect on the display of the final text. Also, on your demo page, I got an error. Looking at the code, I think you've got a no-background class on both demo p's.

[jQuery] Re: Extend to pass XML feed as an argument

2009-01-12 Thread Josh
I see that this failed to keep jCarousel in my title - newbie mistake. I do hope someone sees this though. :) On Jan 12, 9:59 am, Josh ranger...@gmail.com wrote: I'm setting up a site that usesjCarouselin a variety of places (and for that I must thank Jan, it's a great tool); the sliders are

[jQuery] Re: Anyway to highlight words accents-insensitive?

2009-01-12 Thread Alex Tercete
There is a bug in the previous code with Internet Explorer. To fix it, replace this: ### // If its not the last part, add the accented and highlighted term to the final value if (n everything_except_term.length - 1) { // Get the term with the original accentuation and

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
alert($(#+serverIdPrefix+table1).length)); This returns 1 I dint get it Plz help Thanks Varun On Mon, Jan 12, 2009 at 4:26 AM, MorningZ morni...@gmail.com wrote: in the runat=server version, put alert($(#+serverIdPrefix+table1).length)); right before the tablesorter line

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Lukas Pitschl | Dressy Vagabonds
you shouldn't use .length on a jQuery object, since that always returns 1 afaik. Use .size() instead. If your alert then still reports 1 you've selected the table correctly using jQuery, else you have to check your id. also your example implies, that the serverIdPrefix is not used. Check

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
*alert($(#+serverIdPrefix+table1).size());// still returns 1* $(#+serverIdPrefix+table1) .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $(#pager)}) *//still doesnot work* Is there any other mistake that you can think of that I am making here , I know

[jQuery] Cycle Pluging next up text

2009-01-12 Thread amuhlou
Hello, I'm creating a slideshow with the awesome Cycle plugin and would like to append the alt text of the next slide into a next up: area. Is there a way to get the alt attribute of the next slide and append it to my next up div in the onAfter callback? Right now i'm using the before and

[jQuery] Re: function text() in jquery

2009-01-12 Thread Ricardo Tomasi
There are two alternatives: $('#testText').contents(':not(select)')[0].nodeValue; this one is unsupported but works too: $('#testText').contents('[nodeType=3]')[0].nodeValue; Notice that both will keep the linebreaks. if text() could handle textnodes this would be much easier. - ricardo On

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread MorningZ
Should work: $(this).find(tbody tr).not(:hidden).filter(:even).addClass (alt); On Jan 12, 1:08 pm, brian bally.z...@gmail.com wrote: The way I sometimes do this with PHP is to set a $counter var and then use the modulo operator on the incremented counter to write the classname for the row.

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
you shouldn't use .length on a jQuery object, since that always returns 1 afaik size and length are equivalent, well, except that size is slower Straight from the docs: Length: The number of elements currently matched. The size function will return the same value

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
Can I also use table sorter with datagrid control? No, well, not out of the box anyways... as the DataGrid control doesn't generate thead, th, and tbody tags, all of which are important parts of the TableSorter structure If you insist on using DataGrid, you'll have to make a custom control

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread brian
Right - that's way simpler. Yay, jQuery! On Mon, Jan 12, 2009 at 2:46 PM, MorningZ morni...@gmail.com wrote: Should work: $(this).find(tbody tr).not(:hidden).filter(:even).addClass (alt); On Jan 12, 1:08 pm, brian bally.z...@gmail.com wrote: The way I sometimes do this with PHP is to

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
well to me both returned same value So I agree But still cant find solution to problem: *alert($(#+serverIdPrefix+table1).size());// still returns 1* $(#+serverIdPrefix+table1) .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $(#pager)}) *//still

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
Without seeing a working (errr, non working) page, constantly posting the same piece of non-working code is not helping others help you How about just using a class? On Jan 12, 2:51 pm, Varun Khatri khatri.vk1...@gmail.com wrote: well to me both returned same value So I agree But still

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
What happens with: $(.tablesorter) .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $(#pager)}) On Jan 12, 3:11 pm, Varun Khatri khatri.vk1...@gmail.com wrote: Here I have attached 3 files ... Its just a simple example I am trying this coz all my

[jQuery] Sortables ie7 issue

2009-01-12 Thread Rafael Vieira de Oliveira
Hello! I'm using Sortables to drag n' drop divs in a project. Well, all non IE browsers the code works fine!!! The javascript code is $('div.recebeDrag').Sortable({ accept : 'drag', helperclass : 'dragAjuda', activeclass : 'dragAtivo', hoverclass

[jQuery] Old code not working with new 1.2.6

2009-01-12 Thread bryce4president
I had a piece of code that worked with 1.2.2 but now it doesn't seem to work with 1.2.6 Here is the code, can anybody see anything that would cause it to stop working? All it does is adds a link to a piece of text in a table cell. $('#'+i).children('td:first').next().click(function(){ ord =

[jQuery] Drag a created div by append

2009-01-12 Thread elrafael
Hello! I have a little problem in Sortables. When I create a new div using append, I cannot move it using Sortables. Other div's (created by 'hand') I can move normally. Here's my code: //Btn Add $('.btn_adicionar').click(function () {

[jQuery] Form submission - Callback method not being called

2009-01-12 Thread Jean-Philippe Couture
Hi, I am having some difficulties trying programatically submit a form. The form never get submitted and the callback is never executed. Could anyone please give me some pointers, please? Take the following example:

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Varun Khatri
If I remove runat=server Like *table id=table1 cellspacing=1 class=tablesorter* And then use : $(.tablesorter) .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $(#pager)}) *It works fine * But If I do *table id=table1 cellspacing=1 class=tablesorter

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread Karl Swedberg
Simpler still would be this: $(this).find(tbody tr:visible:even).addClass(alt); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 12, 2009, at 2:52 PM, brian wrote: Right - that's way simpler. Yay, jQuery! On Mon, Jan 12, 2009 at 2:46 PM, MorningZ

[jQuery] Re: Cycle Pluging next up text

2009-01-12 Thread Mike Alsup
           function onAfter(currSlideElement, nextSlideElement, options, forwardFlag) {                 $('#main').html(this.alt);           }}); Ideally, in my onAfter callback I would like to have the upcoming image's alt text instead of the current one's.  Is this possible? Thanks!

[jQuery] Re: table striping - skip hidden rows

2009-01-12 Thread MorningZ
ps.. i totally missed the :visible selector on the docs On Jan 12, 3:36 pm, Karl Swedberg k...@englishrules.com wrote: Simpler still would be this: $(this).find(tbody tr:visible:even).addClass(alt); --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Jan

[jQuery] Re: jQuery UI tabs widget problem

2009-01-12 Thread tesdev
Is working when replaced jquery.ui-1.6rc4 demos\tabs\default.html js files with http://jquery-ui.googlecode.com/svn/trunk/ jquery-1.3pre.js ui/ui.core.js ui/ui.tabs.js $(function() { $(#tabs).tabs(); //$('#tabs').data(disabled.tabs, [1,2]); //works

[jQuery] EqualTo not seem to be working.

2009-01-12 Thread gdfox
Hi, I have the following code. I want to compare confirm_number with number. The required field works, but not the equalTo. Any help is appreciated. Thanks, Greg script src=scripts/jquery-1.2.6.js/script script type=text/javascript src=scripts/ jquery.maskedinput-1.0.js/script script

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread MorningZ
Sorry man, no idea what to tell you. good luck with your issue On Jan 12, 3:34 pm, Varun Khatri khatri.vk1...@gmail.com wrote: If I remove runat=server Like *table  id=table1 cellspacing=1 class=tablesorter* And then use : $(.tablesorter)    .tablesorter({widthFixed: true, widgets:

[jQuery] Re: Old code not working with new 1.2.6

2009-01-12 Thread Kean
jQuery 1.3 is going to be released soon. You might want to try to see if it works with 1.3b2. Also, it might be helpful to publish snippets of html that relates to your query. On Jan 12, 11:27 am, bryce4president brycekmar...@gmail.com wrote: I had a piece of code that worked with 1.2.2 but

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Kean
Learned something today.. it's nice to know that the filter attribute is causing the problem and to remove it when finished with the animation. On Jan 12, 10:09 am, Rick Faircloth r...@whitestonemedia.com wrote: Thanks for the reply, Mauricio, but I couldn't get your solution to work. Adding

[jQuery] Re: Hierarchy Checkbox Tree

2009-01-12 Thread Eric Garside
The easiest way I can see of doing it is: div id=container div input type=checkbox value=1/ div input type=checkbox value=1.1 input type=checkbox value=1.2 div input type=checkbox value=1.3 /div input type=checkbox value=1.3 /div /div /div

[jQuery] Re: .load() callback

2009-01-12 Thread BlueStunt
I've had a minor success now that it's defined inside document.ready, one of the pages is now working, however my main nav bar ( ulli emName/emText /li li etc etc/ul ) isn't working. You can see the page at: http://www.ispycreativity.com/concept07.htm the relevant jQuery is at

[jQuery] Re: Problem with creating dynamic html...

2009-01-12 Thread Kean
in 1.3 it will be something like this $(),live('click', function(){ }); or you can do something like this in 1.2.6 $().click(function(e){ e = e.target || e.srcElement; if $(e).is('CSS selector') fire the function }); adding some bubbling $().click(function(e){ e =e.target ||

[jQuery] Re: Cycle Pluging next up text

2009-01-12 Thread amuhlou
Thanks much, that just about does it! The only issue I've found is that $nextSlide becomes undefined if paging backwards. For example: http://static.spartaninternet.com/sandbox/ If you click the back button to get to slide 1 it becomes undefined. ~amy On Jan 12, 3:56 pm, Mike Alsup

[jQuery] improving performance of table navigation

2009-01-12 Thread Sridhar
Hi, I am trying to write table navigation using keys for asp.net gridview. This is what I have so far. It is working fine but it is slow. Please look at it and let me know how to improve the performance if possible. Basically it is html table with input elements. The structure of table is like

[jQuery] Re: Any trick to making text at has been faded in look good?

2009-01-12 Thread Rick Faircloth
Can you be more specific? Are you saying the filter attribute causes IE to poorly render fades? If so, what does your coding solution look like? $('#dogs').fadeIn(500).attr('filter', '') ??? Rick -Original Message- From: jquery-en@googlegroups.com

  1   2   >