loaded and use that, before fetching another.
If you load jQuery yourself then you should use it's handy noConflict
option to prevent issues with other libraries etc already on the page.
Hope this helps,
George
On Dec 2, 6:03 am, greghauptmann greg.hauptm...@gmail.com wrote:
Hi
I want
I have developed the autosuggestion plug-in.
Looks pretty cool (for me). I actually made is like it's done on
Facebook. (code is 100% mine).
Please take a look and leave me comments/feedback.
Only list of names are working as autosuggestion. Other fields on the
form are just for example.
Also
Well, it does not support AJAX yet. the list comes from Javascript
array already in the page.
So responsiveness probably has something to do with it.
I just like the way how it looks. I would actually call it tokenizer
and not the autosuggestion.
George.
On Oct 16, 2:53 pm, Rick Faircloth r
It's fairly easy to add. I will do that later this week.
I just wanted to iron out all visual/appearance bugs.
So you can check this link next week.
George.
On Oct 16, 3:23 pm, Rick Faircloth r...@whitestonemedia.com wrote:
Thanks for letting me know. I would definitely need ajax support
Looks like you have an extra there
see this line: UL id=listB class=connectedSortable
Might be a problem
On Oct 16, 10:10 am, wogahnct cheryl.jo...@yale.edu wrote:
I have a very simple script that fails on macintosh only (works on PC
browsers) when I include the ajax.js file. I am not
google.load('maps', 2.x, {other_params:sensor=false});
google.setOnLoadCallback(function() { /* My initialization
code */ });
/script
/George
-8 type=text/javascript/
script
/head
The Net tab in Firebug shows that the extra GMaps scripts have not
been loaded in the failure case.
Any suggestions? Does script injection with document.write play well
with $(document).ready?
This is driving me nuts. Any help appreciated.
/George V. Reilly
, but given that they appear at the end of head after the
explicit script blocks, it suggests that there might be some
appendChild games going on.
/George
+ size.height + px + size.fileSize +
bytes);
});
If anyone can think of a way to make it work without using a callback
then let me know!
George
http://groups.google.com/group/jquery-en/browse_thread/thread/92cd7620c1fde78
/async.html
run the following code in console:
$(#black).empty().treeview({
url: source.php
})
when the tree is loaded 3. After Lunch (120+ min) node does not expand.
Is it bug or i just didn't understood how to reload the tree?
thanks,
George
to mention it in the
documentation.
thanks,
George
(). Is
there a better way to achieve this?
Many thanks
George
Sorry, folks, I'm not using remove(), I'm using empty() - like this:
JQUERY
p id='dText'text to be replaced/p
$('#dText').empty().append('New text string')
On May 18, 12:02 pm, George george.bea...@googlemail.com wrote:
I'm guessing this should be a simple one for the jQuery stalwarts
here
That's what I was after - knew jQuery wouldn't disappoint!
Many thanks
George
On May 18, 1:08 pm, Michael Price m...@edwardrobertson.co.uk
wrote:
You can use either:
$(selector).text(New text);
Or
$(selector).html(New text);
Both also work as getters if you don't provide an argument
down a little!
George
problem is I am using optgroup too and can't find a way to make it
work
so the name=someName has to be repeated for each value.
How about $([name=someName]).filter([value=someValue],
[value=otherValue]) ?
Cheers,
George
Hi Kiusau,
The other 2 suggestions should help.
You may also like to try using jQuery's.each method. Something like:
var flowerColor = {rose: red, tulip: pink, daffodil: yellow};
$.each(flowerColor, function(flower,color){
this.append(Flower name and color: + flower + : + color +
.br /);
Hi Jörn
Many thanks for your suggestion. In fact the problem was an obvious
one that lay in the metadata. I had a class name of 'date' in my
input field which was obviously clashing. I had totally overlooked
that.
Many thanks for writing a very flexible plugin.
All the best
George
On Feb
than 12.
I think it must be an issue with the validator plugin as I've tested
the regular expression on its own in Saari and it works fine.
Cheers
George
than 12.
I think it must be an issue with the validator plugin as I've tested
the regular expression on its own in Saari and it works fine.
Cheers
George
(This is really directed at the jQuery core team)
I notice that jQuery uses regexp statements like this one... (used in
the position() and offsetParent() methods for example)
.../^body|html$/i.test(offsetParent.tagName)
Might it be faster to use a simple object hash like this instead...?
Absolutely, it is very very limited. So this technique is only suited
to the type of regex's that I quoted, like the one used internally by
jquery to test for body or html tags only, or to test for t(able|d|h)
only. Particulalry when used inside a loop. For parsing a selector we
still need regex.
but they did not help.
Has anyone else had these symptoms?
Many thanks,
George
/
(Open in IE7 and resize the window. The bottom of the page does not
follow the window height as it does in IE6 and FF. They seem to open
the images ok.)
Cheers,
George
On Jan 19, 12:31 pm, George Adamson george.adam...@softwareunity.com
wrote:
I'm using Dave Methvin's excellent splitter plugin
regular expressions (and you don't mind abusing the
replace method to provide looping)...
mystring.replace(/([^\/]+)\/([^\/]+)\/([^\/]+);/g, function
($0,id,y,x){
$( '#' + id ).css({ top:y, left:x });
})
Cheers all and happy new year.
George
.
George.
On Dec 12, 1:48 pm, hotdog...@gmail.com hotdog...@gmail.com wrote:
Hello there!
I'm sending an AJAX request using jQuery that could take a minute to
complete. However, I also want to send other smaller ajax requests to
the same host at the same time just after the first one starts
I do not see where it says that.
.data(name,value)
puts a value in.
Usually any JQuery functions returns JQuery chain of objects.
So something like that can be done
$(div).data(test, { first: 16, last: pizza! }).addClass('red');
The $('div').data('test') will return you the value.
George
not sure. Probably yes, but first you need to be able play with CSS so
static HTML can be aligned like that.
Try something like this.
ul id=tabs
liTab1/li
li style=float:rightTab2/li
li style=float:rightTab3/li
/ul
George.
On Dec 9, 4:54 pm, ripcurlksm [EMAIL PROTECTED] wrote
I guess just out of the name 'Autocomlete' you could think that any
time you press a key in the input box the page is trying to complete
your sentence.
Hence sends request to the server.
Not sure why would you need a solution? Is it broken?
George.
On Dec 8, 11:30 am, R. Rajesh Jeba Anbiah
I do not know about php but asp and asp.net serialize access to the
same Session. (basically same browser).
So it would be normal. And problem on server side.
George.
On Dec 9, 8:27 am, Robin Speekenbrink [EMAIL PROTECTED] wrote:
I have a (stupid) problem: i have the follwing short script
The error message does indicate that it does not like something about
XML.
Try folowing.
1. Save xml on your drive and simply open it with IE. See if it gives
you an error.
2. What does errorThrown points to?
3. The standalone=no not sure it's valid...
George.
On Nov 25, 3:56 pm, w-o-m
Just a note: The bind notation allows you to specify additional data
for your even handler function.
I am actually used to always use a .bind
George.
On Nov 23, 7:47 pm, Michael Geary [EMAIL PROTECTED] wrote:
There is no difference at all.
$(...).click( fn )
is merely a shorthand
ability.
Plus it's
a) faster
b) I can always convert to JQuery collection if I need to do something
fancy like
var myelement = document.getElementById('myimage');
$(myelement).hide('slow');
PPS: so far i am thinking of creating my own $$('myimage')
Thanks
George.
be different ASP.NET generates
them to make sure the ID of the control on the page is unique.
C. For something that simple you can use tbLogin.Focus(); on a server
side. You do not need JQuery
George.
On Nov 22, 1:41 pm, lszk [EMAIL PROTECTED] wrote:
I have a code in asp.net:
body
form id=form1
I am creating dynamicly span tag and binding click event.
$('#myspan').bind('click', param, myFunc);
Then at some point this span is removed using JQuery. Do i need to
unbind click event first?
Or it's ok and Javascript will clean that up automaticly..
George.
I'm very surprised by his comments. We always rely on jQuery to get
grips with the monster that is ASP.Net+AJAX.Net, regardless of project
size.
jQuery's extraordiary convenience requires a slightly different
mindset from conventional .net languages (one that I miss on the
server side!) so
you can do
$('a', $(this)).css(color, red);
But it will change all A links
George
On Nov 19, 7:18 pm, lwoods [EMAIL PROTECTED] wrote:
I have an action function where I have $(this). Now I need to change the css
for a link ( ) that is inside the $(this) . How do I reference it? In my
I meant all A links inside that DIV the one that is in $(this)
On Nov 19, 11:14 pm, George [EMAIL PROTECTED] wrote:
you can do
$('a', $(this)).css(color, red);
But it will change all A links
George
On Nov 19, 7:18 pm, lwoods [EMAIL PROTECTED] wrote:
I have an action function where I
I see,
the most common way to return JSON is to use [WebMethod]
example (in C#)
[System.Web.Services.WebMethod(EnableSession = true)]
public static object Fetch()
{
clsMyObject a = new clsMyObject;
a.Name=George';
return a;
}
PS: you need EnableSession
#
Your method might have problems. You need to read InputStream
completelly
George.
On Nov 18, 2:14 pm, mthakershi [EMAIL PROTECTED] wrote:
Well.. I understand that. But it doesn't look that simple. I am not
able to get the tree view example to work with ASP.NET. Here is the
post I wrote in one
the
server.
I recommend JSON
George.
On Nov 18, 7:35 pm, Bhavin [EMAIL PROTECTED] wrote:
Hi,
I am using JQuery with Struts 1.1. I am using following code when
user
clicks on Save button:
$('#save').click(function() {
$.blockUI({ message: h1Please wait.../h1 });
$.ajax
generates it's own elemnet's IDs. But you can use class if you
want.. Or not mark items as runat=server then ID's will be the ones
that you assigned.
George.
On Nov 17, 8:00 pm, mthakershi [EMAIL PROTECTED] wrote:
Hi, I am trying to implement JQuery treeview with asp.net. I have
master page
Works for me... I have FF 3.0.4
George..
On Nov 17, 7:41 pm, Jack Killpatrick [EMAIL PROTECTED] wrote:
I found the other day that the FCKEditor plugin:
http://www.fyneworks.com/jquery/FCKEditor/
doesn't work with Firefox 3.0.4. I'm looking into it now, but maybe
someone already knows why
I just ended my 2 days 'dance' with IE Ajax and POST
refer to this post if you need more info.
http://groups.google.com/group/jquery-en/browse_thread/thread/a2f65e23c7f60e06?hl=en#
Might be not your case but with checking.
George.
On Nov 17, 3:27 pm, Reepsy [EMAIL PROTECTED] wrote:
I am
It does load. and seems to be working although the Ajax submission
does not do anything.
But there is a note
Ajax Submission (DIV). This type of submission would not work without
this plugin.
So i thought plugin is not there so it's not working...
George.
On Nov 17, 9:29 pm, Jack Killpatrick
as well..
So you just need to make sure that you do not have extra tags with the
same id as the name you assigned to your radio control.
George
On Nov 13, 11:22 pm, Ahhk [EMAIL PROTECTED] wrote:
Brilliant! I'll take any incompatibilities of getElementByName over the
totally broken radios any day
);
if( iRead == 0 )
break;
}
st.Close();
So I am just posing it for Google to spider it and people to be able
to find it. Cause when I googled I found a lot of people having
problem with 12030 error but no solution.
Good luck,
George
No i did not...I did pass exactly this '{}' (empty JSON data).
As i said the problem was that i were not reading the InputStream till
the end cause i knew that data would be empty. And it messes up IE's
XMLHttpRequest object so it can not read properly output from the
server.
George.
On Nov
Somehow i do not think it has anything to do with JSON.
Nobody analyzes passed values on client.
With AJAX there are 2 to tango :)
I think it's the server side that has a problem...
George.
On Nov 14, 6:00 pm, Technocrat [EMAIL PROTECTED] wrote:
I am using the AJAX class with the dataType
you just need to change $.blockUI to $('#mytagid').bockUI. The sasme
with unblock call.
George
On Nov 13, 12:07 pm, pixeline [EMAIL PROTECTED] wrote:
Hi!
My website uses ajax to refresh various elements in the course of the
user's navigation. I would like to display a please wait message
to the
$().ajaxStart($('#mydiv').blockUI).ajaxStop($('#mydiv').unblockUI);
Or you can create your own function wrapper that does the AJAX call
function DoTheCall(element)
{
$().ajaxStart($(element).blockUI).ajaxStop($(element).unblockUI);
$.ajax(.); //the actual ajax call
}
George,
On Nov 13
name=group1 id=group1_2
input type=rario name=group1 id=group1_3
George.
On Nov 12, 2:05 pm, Ahhk [EMAIL PROTECTED] wrote:
Anyone know how to fix this?
--
View this message in
context:http://www.nabble.com/PrettyCheckboxes-not-working-with-radio-array-n...
Sent from the jQuery General
It does not seem to work...
I had tried in FF 3.03 and IE 7.0
In both browsers nothing happens...
George.
On Nov 12, 5:38 pm, Brice Burgess [EMAIL PROTECTED] wrote:
Ladies and Gentlemen,
I'm writing to inform you all of a new addition to the jQuery plugin
family... Please welcome
Sorry instead of Why do you want to give them the same name?
I meant to say Why do you not want to give them the same name?
George.
On Nov 13, 3:06 pm, George [EMAIL PROTECTED] wrote:
The problem that regular radio buttons are working only when they have
the same name.
No wonder prettty
that prevents you from doing things like they
done in Perl.
So do not be down on it :)
George.
..
but you might try to ask this group more specific question on how to
make JQuery selectors work with the name like that q[1]
George.
Ahhk wrote:
Thanks, but I didnt say I didnt want them to have the same name, I said that
the script didnt work when the names were arrays.
When the radio button
compatibilities of getElementsByName
Works in FF 3 and IE 7 not sure about all other safari
George.
On Nov 13, 6:12 pm, Ahhk [EMAIL PROTECTED] wrote:
Wow, ok...thanks!
I didnt think it was a jQuery issue and am surprised that jQuery, with as
robust and fantastic as it is, wouldn't support
Thanks,
But I think that
if (document.getElementById('test').checked ) {}
would be better...performance wise and readability is better
Is there problem with this approach?
PS: Is there shorter syntaxes for document.getElementById('test')?
Thanks
George.
On Nov 12, 1:25 pm, ripple [EMAIL
You can do
$('.imagefield:eq(0)') to select first image out of all 'imagefield'
George
On Nov 12, 4:33 pm, yo2lux [EMAIL PROTECTED] wrote:
I have some image on webpage:
img class=imagefield height=310 width=310 title= alt= src=/
sites/default/files/first.gif/
img class=imagefield height
Most likely the TableSorter could not detect the datatype correctly
and sorts it as if it were text.
Then you get that 70 100
Probably you have some HTML tags in the cell so TableSorter thinks the
content is text.
Checkout their examples on how to sort when HTML tags are present.
George
this task, but should not be hard to strip them out.
George.
On Nov 12, 9:17 pm, Low Kian Seong [EMAIL PROTECTED] wrote:
Can someone show me how to highlight the accordion menu entry based on
the current page that we are in ? As in sort of like an accordion that
knows it's current page?
in the same object...
Without 'this' I get an error 'CheckPageIndex is undefined'. Coming
from object oriented languages like C++ I have a trouble
understanding
it.
Or am I doing it wrong and there is a way not to specify 'this' to
many times?
Thanks
George
.. But as of now I am trying
to nail down the use of 'this' in JavaScript as it's a bit different
from what I am used to.
George.
On Nov 10, 11:43 am, Olivier Percebois-Garve [EMAIL PROTECTED]
wrote:
you may want to have a look herehttp://docs.jquery.com/Plugins/Authoring
On Mon, Nov 10, 2008
but before I can freely start
using it I want to understand how things work.
Cause as of right now if you tell me to write JQuery from scratch I
will not be ably even to start :)
And even having full source available does not help much since I often
do not understand what is going on
Thanks
George
up and decided that it's time to write my own thing.
And that is how I realized that I know too little about modern
JavaScript language. I used to think that I know it pretty well when
in reality all I could do is to use alert and setInteval functions :)
George.
On Nov 10, 3:11 pm, Balazs
);}
});
},
UpdateData: function (result) {
var obj = this.div;
obj.innerHTML = result.d;
}
}
Thanks
George
On Nov 9, 11:58 pm, George [EMAIL PROTECTED] wrote:
I am writing an object that gets data using AJAX and shows it in DIV
Also this object must provide
');
...blablalba.
o.refresh();
/script
Question: Is is possible to move Populate into MyData object?
PS: I realize that the whole thing does not make much sense but since
I have trouble fully understand how 'this' and objects work in
JavaScript I am doing this as an exercise.
Thanks
George.
;
$el.toggleClass(newClass);
};
$.fn.blink.defaults = {
class1: 'red',
class2: 'blue'
};
})(jQuery);
How do i add stopBlinking?
Thanks
George.
: 'yellow', color2:'black' });
$('#t3').blink({ color1: 'red', color2:'green' });
});
Thanks
George.
Thanks,
I see your point..
George.
On Nov 6, 7:28 am, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
Hi Georges !
excellent way to learn.
personally, i would use toggleClass()
(http://docs.jquery.com/Attributes/toggleClass#class) and have the
color set in the CSS file. As a rule, try
My guess you could use Eval statement...
George.
On Nov 6, 10:07 am, briandichiara [EMAIL PROTECTED] wrote:
Hi,
I would like my AJAX Request to function like this:
if empty, all good, proceed.
if scripts, not good, execute the script.
if no scripts, but something in response, alert
this
(function($)
{
$.fn.tablesorterPager = function()
{
.blabblabla
}
})(jQuery);
Questions:
Any advantages of writing it the way it's written?
Basically what is this $.extend({}) for? What does it achive.
Thanks
George.
say you could enhance yours to pick dates instead (or as
well?!)
When you tackle the 24h layout you could offer the option of 2 rows of
12 to save horizontal space. some people will prefer it in some
circumstances.
Cheers,
George Adamson
)
*
* @name :aspid, :aspname
* @type jQuery object
*
* @cat jQuery/Custom selector
* @author George Adamson
*/
aspid : function(a,i,m){ var id=a.getAttribute(id);
return id
m[3] id.substr(id.length - m[3].length - 1) == _+m[3
and
generated dynamically. This tableGrouper code will eventually become a
plugin to work with the table sorter)
Many thanks,
George Adamson
Hi all,
If we use the $.param(myobject) method to serialise an object, how can
we deserialise that string back to an object?
Maybe that function exists somewhere and I'm having a mental block.
Please help!
In the absence of such a method I would do something like this:
jQuery.extend({
Ever more impressive. Well done you lot, you make us proud!
George
return false;
});
});
- George
On Apr 14, 5:43 pm, Brian Talbot [EMAIL PROTECTED] wrote:
Hi All,
I was wondering if anyone had any insight into an issue I'm having
when using JQuery to show/hide a series of elements on a page. I
currently have a set of comments (to be placed in a larger
You could also try $(TR).filter(*:nth-child(6n+1), *:nth-child(6n
+2), *:nth-child(6n+3)).addClass(specialBackground)
Perhaps someone can offer a more concise alternative syntax to do
that?!
George
On Mar 25, 3:16 pm, Leandro Vieira Pinho [EMAIL PROTECTED]
wrote:
Hi guys,
I´m looking
I may not be sure what you're wanting but something like this may
help:
... $(#billingAddress).val() == $(#shippingAddress).val() $
(#comparefields).is(:checked);
I presumed you are wanting to compare the billingAddress and
shippingAddress values.
George
On Mar 3, 4:13 pm, [EMAIL PROTECTED
Hi, I'e just started using jquery and have to say I like it. One big
problem though, my site (http://www.georgemauer.net) doesn't show up
when I try to go to it in internet explorer 7. Nothing, its blank,
just shows up as the background color. Strangely enough, all the html
in view source is
Anyone? Beuller?
bump
On Feb 18, 11:40 am, George [EMAIL PROTECTED] wrote:
I'm currently building a widget which contains multiple deep dives
into sections of a website in a limited amount of space and have run
into an issue when using thefadeOutfunction with IE6.
Per the requirements
appreciated!
- George
http://216.120.230.80/~rieekan/homeActionTrayV1.html
There is slider functionality in the jQuery UI project ( http://ui.jquery.com
) which will do pretty much what you're looking for.
On Feb 18, 7:01 am, Ariel Flesler [EMAIL PROTECTED] wrote:
The 2nd link is awesome! :)
Ariel Flesler
On Feb 17, 10:38 pm, alex [EMAIL PROTECTED] wrote:
). Oh well, I dare say I'll fix it soon.
Cheers,
George
On Feb 18, 7:29 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
this should help...
http://www.softwareunity.com/sandbox/JQueryMoreSelectors/
--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Feb 8, 2008
the alternative would be in FF etc. Also, to save on markup
could you use a closure for your imagecheck value instead of an
element? (eg: var imagecheck = false; at the start of your imagesOn
function)
Just some initial thoughts. Cheers,
George
On Feb 15, 11:55 pm, [EMAIL PROTECTED]
[EMAIL
jQuery being what it is, there's bound to be a way of doing
this in one line, though :)
$(this).addClass(highlight).siblings().removeClass(highlight)
...that saves a document wide search for $(.section)
Geoge
). You can see a working example at the address below.
http://216.120.230.80/~rieekan/homeActionTrayV1.html
Any help is most appreciated!
- George
FWIW: A while back I also found that the callback function is not
called after a zero-second show() or hide().
Dunno if that is still the case. Just a heads up in case anyone else
experiences that.
George (in haste...)
) or $(DT,this)
(Not tested in latest version of jQuery 1.2.3, though I presume it
still makes a difference)
George
On Jan 22, 3:51 pm, mtest [EMAIL PROTECTED] wrote:
Firstly, sorry for my english, but it's very important to me know the
answer :).
For example there is such a code:
dl
dtMenu
It would certainly help track down the problem if you listed which
plugins you're using. Only thing I can see from what's been posted so
far is that you've got E.easing[...]. What're you using the E object
for? It's telling you it can't find the easing function in E.easing
On Feb 12, 12:49 pm,
Superb, well done team jQuery!
The UI stuff is looking smooth. I notice that there are even some
significant changes to the innerds of jQuery in v1.2.3. (For instance
you've coded the :selectors using functions instead if strings. Has
that improved performance?)
George
On Feb 7, 4:02 pm
selector definition
in your code. Something like this...
jQuery.extend(jQuery.expr[':'], {
Contains :
jQuery(a).text().toUpperCase().indexOf(m[3].toUpperCase())=0
});
George
On Feb 5, 7:10 pm, Shogobunky [EMAIL PROTECTED] wrote:
Is there a workaround to making the :contains filter case
I think it's generally proven that inserting dom objects is much
slower than innerHTML, for the kind of inserting you're trying, that
might be worth investigating...
On Feb 4, 1:57 pm, Ashish [EMAIL PROTECTED] wrote:
Hi ,
I am very new to jquery. I am using jquery 1.2.2 . I use jquery
Can you use the :nth() selector ?
Are the buttons next to the list items? If so could you just find the
form that is next to the button? Eg: $(this).next(FORM)
On Feb 5, 2:12 am, jg [EMAIL PROTECTED] wrote:
Hope that makes sense. Any thoughts?
of select.../select ?
If you simply leave a space between #ColumnEdit and select then jQuery
will delve deeper for you and find what you want.
George
On Jan 24, 9:49 pm, MorningZ [EMAIL PROTECTED] wrote:
Shouldn't
$(#ColumnEdit select)
Provide me a jQuery array of those select boxes?
Don't forget you could also just bind a click event to a parent
object.
That way any click in a child element, old or new, will bubble up and
trigger the click event. In the event handler, just inspect
event.target to see which child was clicked.
George
of $
('input[name]'),
If you do need to test for the presence of the name attribute then you
could try
$('input[name][id$=div]') instead
Cheers,
George
PS: You can also reduce $(document).ready(function(){... to
just$(function(){...
On Jan 16, 8:52 pm, hollow [EMAIL PROTECTED] wrote
FWIW, I prefer the dl approach where
- tab labels are made from dt's and
- tab contents are made from dd's
George
On Jan 15, 5:31 pm, Enrique Meléndez Estrada [EMAIL PROTECTED] wrote:
Looking at official TABs plugin, I realized that the HTML structure is
not very natural. It uses a list (UL
1 - 100 of 151 matches
Mail list logo