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=
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
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
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
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
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
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
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
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
$("#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
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
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
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
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
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
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
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?
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
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
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
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
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.
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.
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.
$('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
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
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
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:
Thank you.
I will check it later.
On Jan 11, 3:01 pm, Mike Alsup wrote:
> > This is in html (by default)
>
> >
> >
> >
> >
> > Kolicina Naslov
>
> >
> >
> >
> >
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
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]);
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.
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
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
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
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.
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
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
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
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
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) {
>
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();
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
101 - 143 of 143 matches
Mail list logo