Just letting you guys know that the documentation for UI/Datepicker is
not showing (IE7)
Thanks for replying, Mike.
I see.
In the success: function() I'll use match() on the responseText to
check whether the form validated, and then do whatever I require.
Thanks,
Matt
On Feb 9, 11:15 pm, Mike Alsup wrote:
> > (It seems to me as though the form always returns 'successful' code ?
You can just check the length of the child elements of ul#Themes:
$('#AddTheme').bind('click', function(){
// Other code
var len = $('#Themes li').length;
$theme = $('').appendTo
('#Themes');
$theme.append('');
$theme.append('');
$theme.
Nice work...
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sat, Feb 7, 2009 at 7:17 AM, mkmanning wrote:
>
> FYI I just uploaded a plugin (http://plugins.jquery.com/project/
> parseQuery) that's pretty small (449 bytes minified); it parses the
> querystring into an o
Which treeview plugin are you using ?
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sat, Feb 7, 2009 at 9:50 PM, Anders Viklund
wrote:
> This works fine for replacing the file image, but how can I replace the
> collapsable and expandable folder images?
> I would like
You should probably ask it in CSS mailing list or discussion board...
You will get more useful replies there...
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sun, Feb 8, 2009 at 9:56 PM, shyhockey...@gmail.com
wrote:
>
> Ok, Now I am having trouble using php with css
Could you give a link to your test page ?
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sat, Feb 7, 2009 at 6:36 PM, Konstantin Mirin
wrote:
>
> Well, you have a space in your link. Maybe that's a problem.
> Should be:
> href="showContent.php?action=addContent&keepT
Ayan, I would recomment using ID selection. Since it is much faster
than other method selections. You can see performance test results
here:
http://jquery-howto.blogspot.com/2009/01/improving-jquery-code-performance.html
But in your case, it seems like you have a lot of elements to select
and wr
Which version of jQuery are you using ?
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sat, Feb 7, 2009 at 9:48 PM, pedalpete wrote:
>
> like my original statement that works in IE and FF, but not Safari or
> Chrome.
> Strange
>
> On Feb 6, 11:17 pm, jQuery Lover
This was his example page: http://horticulture127.massey.ac.nz/dumpthis.htm
It seems he sorted it out, since it's working the time I checked...
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sat, Feb 7, 2009 at 9:36 PM, expanism wrote:
>
>
>
> On Feb 7, 11:59 am, jQu
But he is not saying to pass the table object through AJAX call to the
server. He is passing it to the function...
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sat, Feb 7, 2009 at 12:32 PM, Konstantin Mirin
wrote:
>
> Passing a table object to AJAX may be not the be
That is also true :)
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Sun, Feb 8, 2009 at 1:15 AM, Dave Methvin wrote:
>
>> File a ticket:http://dev.jquery.com
>
> Before doing that, post a sample here. A lot of "bugs" are not bugs.
jquery 1.3.1, UI.Tabs 1.6rc6, FF3.0.6
Whenever any tabs load the spinner img will remain visible. I'm using
the following for the spinner option for tabs (I've removed everything
else with the same result)
spinner: ''
The default "loading ..." does change back to the label text.
I see that the
I came back to my COde An I found your code fit in mine I am not going
to use rowIndex because My Plugin it should work for every selector so
what I atually want to do to get the selector name and bind an event
to it and sent it to a function and also pass the index to the
function and the reason
thanks ROb , I Appreciate it , I'm writing a Plugin I am going to use
the last part of your code , that I'm fine with that. great. THanks
other guys , my Problem Is solved
On Feb 9, 3:44 pm, RobG wrote:
> On Feb 10, 5:48 am, Pedram wrote:
>
> > How COme we could not have access inside the BIND
Hey there,
in your tooltip div, add the style... white-space: nowrap;
This will cause your text to appear on the same line.
Hope this helps,
Aaron
On Mon, Feb 9, 2009 at 6:00 PM, sccr410 wrote:
>
> Having issues with the tooltip plugin -
> http://bassistance.de/jquery-plugins/jquery-plugin-
You need to init the tabs on the element before you can call the
.tabs('ur'... method. Untested:
http://pastie.org/384667
- Richard
On Mon, Feb 9, 2009 at 2:46 PM, m.ugues wrote:
>
> Hallo all.
> I would like to initialize the tabs href on the document.ready.
>
> http://pastie.org/384170
>
> I
Try this:
$(this).children().children('input.changethis').val('ABC');
- Richard
On Mon, Feb 9, 2009 at 5:30 PM, robertaugustin wrote:
>
> Hi,
> I have this:
>
> $('.sort').sortable({
> receive: function(){
> $(this).children().children('input.changethis').value = 'ABC';
> }
> });
>
>
The video won't play for me :-( tthanks anyway. FF3.0.6 on linux
So ... do you happen to know the answer to my query, by any chance?
On Mon, Feb 9, 2009 at 8:08 AM, Paul Mills wrote:
>
> Brian
> Here are a couple of demos that might help.
> http://jsbin.com/ojuju/edit
>
> Paul
>
> On Feb 9, 4
Hi All,
I'm modifying Leandrovera's Lightbox plugin (http://leandrovieira.com/
projects/jquery/lightbox/) to display descriptions in a Joomla based
image gallery. I'm having some issues with getting the right count.
The following is shortened excerpt of the code generated from (http://
axia.entr
Having issues with the tooltip plugin -
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip
You can see a page here - http://www.erikaashauerphoto.com/photos/scenic-travel/
The page scrolls horizontally for style reasons. As you use the
tooltip on images after scrolling horizontally, it
I'm using the "jQuery contextmenu plugin" combined with "jQuery
treeview async plugin". This means that I load in all data into the
treeview from the database. Next step is that I want to be able to
right click these dynamically loaded elements and alert the id of each
element. I get it working in
> I am invoking a javascript function with an index. Inside the
> javascript function, I am constructing the identifier for the element
> using the index. For example, if the index is 10, then the class name
> of the element is elem-10. Now I need to toggle the display style of
> that element. How
> $(form).('select')[0].selectedIndex = 2;
>
> But this wont work.
> What am I doing wrong? How should I use object subselectors?
$(form).find('select');
> ok, seems like i got it on my own, with a bunch of help from malsup's
> blog and the jq docs.
>
> looks like that. that's ok, you think?
Nice!
> Thank you again for working with me on this! I really appreciate it.
> Hopefully we'll get to the bottom of this.
>
> Susie "BogusRed" Sahimhttp://www.PaperDemon.com
One thing to do right away is to get rid of the duplicate submit
binding code. You test page has an inline script block which ca
Hi,
I am invoking a javascript function with an index. Inside the
javascript function, I am constructing the identifier for the element
using the index. For example, if the index is 10, then the class name
of the element is elem-10. Now I need to toggle the display style of
that element. How can I
Ahh, that's a great point! Thanks Karl, I think you solved my problem!
On Feb 9, 4:06 pm, Karl Rudd wrote:
> You could do this because the .css(attribute) returns the "computed"
> (the result of all the CSS applied) value of an element's CSS
> attribute.
>
> It would involve adding a stylesheet
Hello,
I have a jquery object (form) and I would like to select a "select"
form element inside of it.
This code will work as expected:
$('#rating select')[0].selectedIndex = 2;
>> It will set the selectedIndex inside #rating id to select field.
var form is basically #rating and I want to do t
ok, seems like i got it on my own, with a bunch of help from malsup's
blog and the jq docs.
looks like that. that's ok, you think?
(function($) {
jQuery.fn.jsonForm = function(options) {
var opts = $.extend({}, $.fn.jsonForm.defaults, options);
return this
You could do this because the .css(attribute) returns the "computed"
(the result of all the CSS applied) value of an element's CSS
attribute.
It would involve adding a stylesheet to the document with the
particular selector in it, with say a change to the background colour.
Then create elements t
On Feb 10, 5:48 am, Pedram wrote:
> How COme we could not have access inside the BIND with THIS !! I'm
> Confused
I don't know why you want to make it so complex. Consider:
$("table tr").click(function(){alert(this.rowIndex);});
If you want to call a function:
$("table tr").click(funct
I guess this really is a hard concept to get across after all.
Ok, so there's browser feature detection with .support.
So imagine the thing I'm talking about works like this:
alert( $('ul li:first-child').support );
alerts 'true' if Firefox, but alerts 'false' if IE6.
I'm not trying use the s
I think my question was misunderstood. I'm not asking about detecting
browser versions.
I want to test if the current browser has native support for a
particular kind of CSS selector. My previous example was the :first-
child pseudo selector that isn't supported in IE6, but is supported in
most o
> (It seems to me as though the form always returns 'successful' code ?)
If the HTTP request is successful then the success function is
invoked. This is no different than using jQuery's $.ajax function. A
request is deemed to be successful it the server response has a
statusCode of 2xx or 304.
Thanks, Ryan!
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf Of Ryan
> Sent: Monday, February 09, 2009 1:49 PM
> To: jQuery (English)
> Subject: [jQuery] Re: Can I use a reference to a select id in a function like
> this?
>
You're right. And apparently it's still faster to get the element by
the array index and re-wrap it in a jQuery object than to use eq().
Some room for improvement in the core there.
cheers,
- ricardo
On Feb 9, 8:23 pm, mkmanning wrote:
> And just a final note on performance, as Stephan points o
Thank you everyone - lots to go on there.
I have an animated flash ad -- 12 frame bouncing ball test @12fps --
that moves across the screen. During the slide the animation becomes
choppy in Safari and the animation doesn't advance past the first
frame until the sliding stops in FireFox. How can I keep the animation
smooth while the div is
I have an animated flash ad -- 12 frame bouncing ball test @12fps --
that moves across the screen. During the slide the animation becomes
choppy in Safari and the animation doesn't advance past the first
frame until the sliding stops in FireFox. How can I keep the animation
smooth while the div is
Hi,
I have this:
$('.sort').sortable({
receive: function(){
$(this).children().children('input.changethis').value = 'ABC';
}
});
for this markup:
...and I can't get it to work. I need to change the value of the input
field as soon as it is dropped in its new locatio
I have been tracing this one down for two days.
Has anyone else ever seen jquery making multiple request for a single
call?
Here is the call:
$("#configure_blocks").load(
"config_templates/"+config_template
+".html", { bust: new Date() }, function( data ){
yeah, that it's a lot of work :-(
best best is to make blank "-vsdoc" versions of the files that it
could be (this was the method talked about in point #8 of the second
link in my last post)
that way you'll get the core of jQuery playing nice with Studio, and
hope that someday the UI stuff catc
Are you *sure* that parent > child doesn't work in IE6?
I could see that this CSS declaration, and pretty sure it doesn't work
ul > li {
color: blue;
}
but part of the magic of jQuery (and other libraries) is that it takes
that into account already. and saying $("ul > li") should work
Thanks for taking a look, Stephen. Any ideas on annotating a jquery
UI vsdoc file?
Anyway... i'm back to coding.
On Feb 9, 4:21 pm, MorningZ wrote:
> I'm aware of the different ways to call .ready(), i was simply
> pointing out a few things
>
> 1) The problems you are having do not mean that j
I think my question was misunderstood. I'm not asking about detecting
browser versions.
I want to test if the current browser has native support for a
particular kind of CSS selector. My previous example was the :first-
child pseudo selector that isn't supported in IE6, but is supported in
most o
yes, I did. But since "this" is the element that I selected (a DIV) it
was of no use. the class I wrote is not a jqeury extension, it's a
separate item. But using the "trick" of storing "this" in an outside
variable did the trick like Ricardo Tomasi wrote.
On 9 Feb., 20:09, SoulRush wrote:
> Did
And just a final note on performance, as Stephan points out, the for
loop is faster than $.each, likewise accessing the elements by array
index is quite a bit (~7x) faster than using eq() --
For 5 p elements (average time):
Using .eq(): 0.14ms and 20 calls
Using array index: 0.02ms 2 calls/4 ca
Thanks! That worked great!
On 9 Feb., 20:09, Ricardo Tomasi wrote:
> just stay aware of the scope:
>
> var oldthis = this;
> this.slide=function(){
> $(this.container_selector_contents).fadeOut(1000, function(){
> oldthis.setContent();
> oldthis.fadeIn(1000)
>
I'm aware of the different ways to call .ready(), i was simply
pointing out a few things
1) The problems you are having do not mean that jQuery + Studio +
Intellisense doesn't work
2) That in two your examples that you work fine here, and I pointed
out that I had to make Studio skip over other j
That would work, and would probably be less CPU and bandwidth
intensive. I was concerned about special characters initially, and
wanted to make a proof of concept. Does what I'm doing make any sense
to do though? Am I correct in that a read-only version of the DOM is
unavailable otherwise?
On
There are different ways to call document.ready in jquery. Here's
what does and does not work
These all do the same thing...
jQuery(function($) {//FAILS WITH INTELLISENSE THOUGH JQUERY CALLS
THIS FAILSAFE
$("div").FAIL
}
jQuery(function() { //WORKS WITH INTELLISE
jQuery()
works just fine for me
http://i42.tinypic.com/34y65xv.jpg
On Feb 9, 4:58 pm, paulinstl wrote:
> Apparently when I start my document ready as jQuery(function($){}) it
> fails. When I use $(function{}), it's fine.
>
> ergh.
>
> On Feb 9, 3:19 pm, paulinstl wrote:
>
> > So I ha
Here's the detail from jquery ...
Definition: Uses both the shortcut for $(document).ready() and the
argument to write failsafe jQuery code using the $ alias, without
relying on the global alias.
jQuery(function($) {
// Your code using failsafe $ alias here...
});
Yeah, that above "failsafe"
Apparently when I start my document ready as jQuery(function($){}) it
fails. When I use $(function{}), it's fine.
ergh.
On Feb 9, 3:19 pm, paulinstl wrote:
> So I have the new 1.3.1 and vsdoc js file.
>
> I can get intellisense up to the point of "$("
> After I complete that I get nothing aft
Sorry, was a cut and paste error :)
But the problem remains.
Any idea?
Massimo
On 9 Feb, 22:33, Stephan Veigl wrote:
> Hi Massimo,
>
> you forgot the closing parenthesis of the ready function
>
> $(document).ready(function() {
> initLinks();
>
> }); // <--
>
> by(e)
> Stephan
>
> 2009/2/9 m
There are issues with other jQuery files breaking the intellisense
one file that really stuck out (as of a month ago) was the file for
the UI Datapicker... the suggested fix was to create a blank "-vsdoc"
version of the file and that would cause Studio not to include that
file in the intelliense
Silently for text(), but it returns null for html() (using Adrian's
second example/my example) so you'll most likely want to check for
that.
On Feb 9, 1:23 pm, Ricardo Tomasi wrote:
> You can take advantage of the index passed to each. What you posted is
> very close to working:
>
> $(function(
On Mon, Feb 9, 2009 at 4:45 PM, Eric Garside wrote:
>
> Not really, ternary operators work fine for most situations. This is
> designed for a much more variable approach. Imagine a case where you
> want to conditionally call different functions based on the state.
>
> $('div').cond(settings.use_t
Not really, ternary operators work fine for most situations. This is
designed for a much more variable approach. Imagine a case where you
want to conditionally call different functions based on the state.
$('div').cond(settings.use_thumbnails, 'createThumb').cond
(settings.use_image_security, 'cr
Ah thank you very much, they way you wrote it made me understand what
i've red in the documentation, it is just 2 different ways to write
the same thing.
Thank you, you made my day.
On 9 fév, 21:39, Jörn Zaefferer
wrote:
> Assuming you use the default header: "a", add this:
>
> $("#accordion").a
Hi Massimo,
you forgot the closing parenthesis of the ready function
$(document).ready(function() {
initLinks();
}); // <--
by(e)
Stephan
2009/2/9 m.ugues :
>
> Hallo all.
> I would like to initialize the tabs href on the document.ready.
>
> http://pastie.org/384170
>
> I tried like this
>
>
Hi David,
use a reasonable speed e.g. 50ms = 20fps (instead of 1ms) should make
the animation smoother and reduce computation time.
you could also try to use background images instead of , but that
may be not suitable for your application.
by(e)
Stephan
2009/2/8 David .Wu :
>
> I think so, bu
Why not simply use escaped plain text?
On Feb 9, 6:04 pm, jay wrote:
> I'm playing around with writing a server-side script that generates
> JSONP from content that is downloaded by the script (URL is passed to
> script from querystring). Is there a better way to do it than to
> encode it as ba
$("table tr").each(function( index ){
$(this).click(function(){
alert('I am TR number ' + index);
});
});
the index() function works on a collection of elements, so you'd have
to get them first:
$('table tr').click(function(){
alert( $(this).parent().children().index(this) );
});
On
You can take advantage of the index passed to each. What you posted is
very close to working:
$(function() {
var divs = $("div");
divs.each(function(i){
var prev = divs.eq(i-1).text();
var next = divs.eq(i+1).text();
alert(prev + " - " + next);
});
});
There's no nee
Hello,
I am using this very near perfect plugin
http://www.ryancramer.com/projects/asmselect/examples/example1.html
The problem that I am having, after sorting the options, I serialize them
and put them in table A in database.
The cities are coming from Table B and themselves are sorted alphabe
So I have the new 1.3.1 and vsdoc js file.
I can get intellisense up to the point of "$("
After I complete that I get nothing after the "."
ex ( $(".selector"). )
I get no chaining, nothing. I have all the patches installed for
VS2008 sp1
So what's the formula for getting this plane of the
I still prefer the old ternary operator way:
$.ajax('url.php', function(data){
$('#result').addClass(data.success ? 'ui-state-highlight' : 'ui-
state-error');
}, 'json');
Any possibilities I'm missing here?
On Feb 9, 5:12 pm, Eric Garside wrote:
> Hey guys,
>
> I had an idea this morning wh
Thanks Mauricio,
I know that :checkbox will work, jQuery documentation states that
using input:checkbox is more readable and actually performs better.
But yes, your code worked well!
On Feb 5, 11:02 am, "Mauricio \(Maujor\) Samy Silva"
wrote:
> Hi Paul,
>
> $(':checkbox') matches all inputs ele
Oh, I thought setContent() was one of his class' methods. Does it make
sense to do something like this.slide=function() {.. on a jQuery
object?
On Feb 9, 5:57 pm, Eric Garside wrote:
> Yea, the scope should be fine. You just have to wrap "this" in "$()"
> when using the reference to the element.
Ah! Some helpful individual here in Philadelphia posted a clue for me
on the PANMA list and I've evolved his suggestion into this code which
works like magic:
function edit_event_handlers( ) {
// highlight the field backgrounds when the user enters it
for ( var target in datafields )
In your cycle initialization script, try removing the comma after
timeout: 3000,
IE seems to choke on this a lot of times.
Cheers,
~amy
On Feb 9, 3:43 pm, Wendy wrote:
> Thanks for checking! Client says page displays with one long column of
> all photos -which sounds as though her js is disabl
Hi!
Kindly visit following link:
http://vibersol.com/sitesdemo/shipping/admin/continent.php
Table sorter plugin works fine in FireFox, but in IE7 this plugin
doesn't work. Can some one guide me where and how to rectify this
problem in my code, so that plugin begin to work in IE7.
Thanks in ad
Thanks for checking! Client says page displays with one long column of
all photos -which sounds as though her js is disabled, but I think
that's pretty unlikely... I'll keep at it. (Don't like that kind of
page, anyway ;-) )
On Feb 9, 3:40 pm, MorningZ wrote:
> Seems to work and load just fine f
Seems to work and load just fine for me here Firebug shows all
files as loaded and i see the Cycle plugin doing it's thing
have you tried using the "Net" panel of Firebug (if you're using
Firefox) or using Fiddler if you're in IE to see what your computer is
seeing/doing?
On Feb 9, 3:20
Assuming you use the default header: "a", add this:
$("#accordion").accordion({
active: "a:last"
});
Jörn
On Mon, Feb 9, 2009 at 7:41 PM, oobov wrote:
>
> Hi there.
>
> I don't know if it is the right place for that, sorry if not.
> I have a newbie problem. I've red the documentation but i c
Hi,
I see the menu on top on both FF and IE and a box overlaying the menu
if the mouse enters the image on the left.
screenshot:
http://www.iaeste.at/~stephan/test/chillenvillen.jpg
by(e)
Stephan
2009/2/8 shyhockey...@gmail.com :
>
> did you go to the home button??? and type username TEST all
Hi - I hope this doesn't appear twice. I posted it over half-an-hour
ago and it didn't show.
I have a simple expanding menu at
http://www.compassion-in-business.co.uk/virgo/manual/contents.htm
I'm wondering if (a) I can make this work with a mouseover event
rather than click; and (b) when openi
I have a simple expanding menu at
http://www.compassion-in-business.co.uk/virgo/manual/contents.htm
I'm wondering if (a) I can make this work with a mouseover event
rather than click; and (b) when opening one subsection I can get it to
close the open one(s).
Many thanks
Am using the Cycle plugin, and linking to the Google jQuery library
(have also tried linking to site version). jQuery effect doesn't seem
to be loading for anyone but me (definitely not Browsershots, and
apparently not client).
http://www.horseink.com/chdrsg/start.html
I'd be grateful for any id
You can use either the css method:
if you want to know the height of $("#TheDivInQuestion")
Then $("#TheDivInQuestion").css("height");
If you need another attribute of the css just change de parameter of
the "css": $("#TheDivInQuestion").css("top"); $
("#TheDivInQuestion").css("left"); ...
On
I'm playing around with writing a server-side script that generates
JSONP from content that is downloaded by the script (URL is passed to
script from querystring). Is there a better way to do it than to
encode it as base64, or is there a work-around that doesn't require
any server-side code? I'm
By the way, the first parameter takes the vars to send... so in the
pages I've to dynamically set varname1=value1&varname2=value2
On 9 feb, 10:40, SoulRush wrote:
> Hi!
>
> I'm kind of new at the world of ajax and jquery and i'm starting to
> make a site with them.
>
> In my site i've create
Be aware that style.top is not necessarily the position of an element.
You can use $('TheDivInQuestion').position().top (and $
('TheDivInQuestion').position().left) to find it's actual position.
On Feb 9, 11:07 am, Michael Lawson wrote:
> If you look at the documentation for jQuery you'll see th
I used event delegation along with live() so it works on new elements
and it got rid of the leak!
Some good references for those who are interested:
http://www.learningjquery.com/2008/03/working-with-events-part-1
http://lab.distilldesign.com/event-delegation/
I've also wrapped the content into a
Yea, the scope should be fine. You just have to wrap "this" in "$()"
when using the reference to the element.
On Feb 9, 2:09 pm, SoulRush wrote:
> Did you try with
>
> $(this).setContent();
>
> instead of
>
> this.setContent();
>
> ?
>
> On 9 feb, 14:13, Creativebyte
> wrote:
>
> > Hello group,
How COme we could not have access inside the BIND with THIS !! I'm
Confused
On Feb 9, 7:16 am, Pedram wrote:
> I check these two solutions it didn't work ...
>
> On Feb 8, 11:42 pm, RobG wrote:
>
> > On Feb 9, 4:54 pm, Pedram wrote:
>
> > > Dear folk,
> > > I want to get the index of the TR an
Hallo all.
I would like to initialize the tabs href on the document.ready.
http://pastie.org/384170
I tried like this
http://pastie.org/384232
But it doesn't work.
Any idea?
Kind regards
Massimo Ugues
Hi Adrian,
as mkmanning already said, when you want to get the next / prev
element from the same selector, simply access the array.
In this case I prefer a for (var i=0; i:
>
> $("p") is an array, so you could just use the index:
>
> var ps = $("p"); //cache
> ps.each(function(i,d) {
>var
HI,
i have a table with thead, tbody and the headers (stored in thead) should be
able to be moved to reorder the table.
for example, if the 1st column is "ID", the 2nd column is "Name" and 3rd one
is "firstname", i want user to be able to drag and drop column "firstname"
between ID and Name column
When I try to do this, firebug does not alert me of anything wrong,
the form is posted normally (no ajax).
What mistake am I making?
// requires jquery.forms plugin
jQuery.fn.jsonForm = function(onSuccess) {
this.ajaxForm({
dataType: 'json',
success: function(data) {
if (data.
Hey guys,
I had an idea this morning which quickly turned into a small but, I
think powerful, plugin. I'd love some review on it from the list, to
see if anyone can see any glaring errors I missed, or has an easier/
already done way of doing it. The source code and some examples are
located here:
Did you try with
$(this).setContent();
instead of
this.setContent();
?
On 9 feb, 14:13, Creativebyte
wrote:
> Hello group,
>
> I got a problem with a JS class I am writing. I got the following
> piece of code:
>
> this.slide=function(){
> $(this.container_selector_contents).f
just stay aware of the scope:
var oldthis = this;
this.slide=function(){
$(this.container_selector_contents).fadeOut(1000, function(){
oldthis.setContent();
oldthis.fadeIn(1000)
});
} ;
On Feb 9, 3:13 pm, Creativebyte
wrote:
> Hello group,
>
> I got a problem
Hi, i need to show a loading gif while autoocmplete plugins make the
ajax ask. is there anyway?
If you look at the documentation for jQuery you'll see that many jQuery
functions either return jQuery itself, or an array of elements. Your usage
would return an array of the element in question so you might want to try
something like this
$("#TheDivInQuestion")[0].style.top
Hope that helps!
c
Hi all,
click() doesn't work on most browsers because of security reasons. Can you
imagine giving some spam programmer the ability to simulate a mouse click?
cheers
Michael Lawson
Content Tools Developer, Global Solutions, ibm.com
Phone: 1-919-517-1568 Tieline: 255-1568
E-mail: mjlaw...@us.
Hello group,
I got a problem with a JS class I am writing. I got the following
piece of code:
this.slide=function(){
$(this.container_selector_contents).fadeOut(1000, function(){
this.setContent();
this.fadeIn(1000)
Have you tried using the attr() function?
$("#input1").attr("value","");)
cheers
Michael Lawson
Content Tools Developer, Global Solutions, ibm.com
Phone: 1-919-517-1568 Tieline: 255-1568
E-mail: mjlaw...@us.ibm.com
'Examine my teachings critically, as a gold assayer would test gold. If you
1 - 100 of 176 matches
Mail list logo