[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" wrote: > You probably binding your validators to ALL input[type=

[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 trail

[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" wrote: > You probably binding your validators to ALL input[type=submit] or to > some class (Ex: .submit) > > If so g

[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. A

[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

[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: http://site.example.com/Scripts/theFile.htm? modal=false&height=500&width=720">Click Here To Open Thickbox when you click that link you get the thickbox loading animation and the rest of the page is greyed out. the animat

[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 wrote: > > Hi, > I Set up a JQuery Dialog in my site. > But in FF the

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

2009-01-12 Thread jQuery Lover
Try this: $('#searchButton').click(function(){ var url = 'http://gdata.youtube.com/feeds/api/videos?q=' + $('#searchText').val() + '&alt=json-in-script&callback=showMyVideos&max-results=7&format=5">'; // ajax functions to call $.ajax, $.load, $.get, $.post }); - Read jQuery

[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 co

[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

[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 = $('#testText').t

[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 wrote: > > Is there so

[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 > > > hello this is text and this is combobox > 12 value='3'>3 > > I wrote a function which return the text from

[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, grassoal

[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 wrote: > Hi, > > i have problem with validation for my form. For example: > > > > > > $('#valid').validation({ > rules: { > 'data[Order][login]': 'required', > > } > }); > > The validation method above dosn't

[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: link 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(){ // Assume

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

2009-01-12 Thread grassoalvaro
Hi, i have problem with validation for my form. For example: $('#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: 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" wrote: > Try closing the tag, ie: > > $('#myDiv').append($('')); > > Actually the second $() shouldn't be needed: > > $('#myDiv').append(''); > > Karl Rudd > > On Mon, Jan 12, 2009 at 7:35 AM, Joe White wrote: > > > I'm trouble

[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: 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: The same when applying with event listeners... - Read j

[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. But

[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 ( blabla ) 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 ( blabla ) the tree does not take place. Thank you for your help.

[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: Para: "jQuery (English)" Enviada em: segunda-feira, 12 de janeiro de 2009 10:59 Assunto: [jQuery] How to grab the filename (src attribute) of an image? Hi all, h

[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 filen

[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 Ja

[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 wrote: > Hi! >     I am using following things in separate JS file:

[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 wrote: > > This is in html (by default) > > >       > >       > >           > >               > >                Kolicina Naslov > > >                 > >                     > >                     > >                        

[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] 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] 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] 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, i

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

2009-01-12 Thread Paul Koppen
However, drawing using javascript *is* possible. You need the 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 luck

[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 doing

[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] 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 hello this is text and this is combobox 123 I wrote a function which return the text from the div. alert($('#testText').text()); My problem is

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 wrote: > > So , need to increase the speed, i thing my english is very poor, > On Sun, Jan 11, 2009 at 7:30 PM, bharani kumar > wrote: >> >> r

[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 and

[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" wrote: > And I found the load is not work either, because it still get the > construct not the value > for example > > > > $(document).ready(function) > { > $('#test').load('ajax.php

[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 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") >                 .bind('keydown',function(e) { >  

[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: 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 $(document).ready(function) { $('#test').load('ajax.php #a'); }); and the result was 123, what I exactly want is 123 On 1月11日, 下午8時13分, Balazs Endresz wrote: > As jQuery parses this

<    1   2