t think event delegation would work as a new table of contents is
pulled in each time and the above functions targets items that are inside
the table. I'm pulling in the new tables via .load().
Any advice / newb friendly guides would be much appreciated.
Thanks,
Will
Hi,
Just wondering if jQuery has plans to support mobile browsers (iPhone,
BB, G1, Palm Pre, WindowsMobile 6.5 in particular). This page (http://
docs.jquery.com/Browser_Compatibility) only lists PC browsers.
Thanks!
Will
Javascript is at the novice stage so I'm lost
as to how I can fix it.
Can anyone have an attempt at solving this or suggest an alternative plugin
I may have missed?
Regards,
Will
I have a similar issue with hiding / showing table data.
I have a single table with two tbody elements and I have 2 buttons that
toggle the display of each tbody using show() + hide(). Whenever I hide the
first and display the second tbody for some reason the second tbody upon
display looks like e
recommended to use the latest version of jQuery, v1.3.2.
> Try removing your scripts one by one until the error goes away to
> pinpoint the issue.
>
> On Jun 26, 4:48 pm, will wrote:
>
> > Hello:
>
> > Here is the offending line in IE7: return this.setArray
> > (
Hello:
Here is the offending line in IE7: return this.setArray
(jQuery.makeArray(selector));
OR in Firefox 3.0.10
line 81 jquery-1.2.6.js return jQuery( document )[ jQuery.fn.ready ?
"ready" : "load" ]( selector );
Sorry if I'm not providing enough detail...I'm pretty new to jQuery/
javascript
{//REBIND THE BUTTON}
})
}
any thoughts on best acheiving this as simply as possible?
Thanks,
will olbrys
willolbrys.com
MorningZ:
Do you mind if we communicate offline. I'm not getting any errors but
I still can't get the example to work. I'm new to jQuery and the
client side debugging.
Thanks
On Jun 2, 3:17 pm, MorningZ wrote:
> "What I've learned is that the $.getJason
> will
17 pm, MorningZ wrote:
> "What I've learned is that the $.getJason
> will not work on .Net because of the handler"
>
> I have no idea how such a conclusion came about, but rest assured that
> the $.getJSON method most definitely works with .NET
>
> I don't have
I can not get this combo to work with an example from jQuery in
action. I'm trying to port the examples from jsp to .net. I'll post
the least amount of code. What I've learned is that the $.getJason
will not work on .Net because of the handler (not sure if this is true
but either
I'm confusedwhy is the xml parse error being thrown when I'm
dealing with json?
if ( status == "success" ) {
// Watch for, and catch, XML document parse errors
try {
// process the data (runs the xml through httpData regardless of
callback)
data = jQuery.httpData( xml, s.dataT
Hello. Not really...it is an intranet site...however, I can send you
the files in a zip.
On May 29, 10:45 am, Stoney wrote:
> Do you have an active site where you have an example of what exactly
> you're trying to do?
>
> On May 29, 11:13 am, will wrote:
>
> > Hi. I
Hi. I have the following layout.
.panel
{
position:relative;
width:580px;
height: auto;
/*overflow: auto;*/
padding: 4px;
}
.panelContent
{
position:absolute;
top:18px;
left:0px;
width:580px;
background-color:GrayText;
}
.rptViewer
{
clear: both;
tings. Will reply back if this proves to be the case.
if ( status == "success" ) {
// Watch for, and catch, XML document parse errors
try {
// process the data (runs the xml through httpData regardless of
callback)
data = jQuery.httpData( xml, s.dataTy
et
> End Property
>
> Public Sub New(ByVal i_value As String, ByVal i_caption As
> String)
> Me.value = i_value
> Me.caption = i_caption
> End Sub
>
> End Class
>
> Then to generate (and at the end the NewtonSoft o
Hello:
I'm trying to use the getJson() with asp.net page (attempting to adapt
jquery in action example to .net):
$(function(){
$('#styleDropdown')
.change(function(){
var styleValue = $(this).val();
$('#detailsDisplay').load(
'getDet
About the jQuery Media Plugin ( http://www.malsup.com/jquery/media/ ),
there is bug in the "getSettings" function.
Here is the problem codes shown below:
var w = meta.width || parseInt(((cls.match(/w:(\d+)/)||[])[1]||
0));
var h = meta.height || parseInt(((cls.match(/h:(\d+)/)||[])[1]||
Can anyone give me a definition of what a destructive event is in JS?
When using .end() it undoes the last destructive event
thanks
m
which, I'm guessing, is a mistake. :)
Will
Thank you Ricardo.
I could do a callback but there are a number of different types of
things that get inserted so it's spread out across a number of
functions. And these will likely grow with time. I think what I'm
realizing is that what started as a "what would happen if I..
Hi,
I'm trying to bind a function to the body element of a document that
will fire any time any part of the page's DOM changes.
$("body").change() doesn't seem to do it. It does for some changes but
not all. In particular, not when HTML or element attributes are adde
back and forth with the server the content is loaded
via
$('#content').load(stuffISaved);
your method keeps the extra div out though and that's sexier. My inner
nerd might make me switch to it.
Thank you,
Will
On Mar 30, 9:33 am, mkmanning wrote:
> Resort to wrappers :). They do
Hi,
Trying to grab an element from the page and save it to a file. I'm
able to get its contents with .html() but I can't figure out how get
the container itself (and its contents) without resorting to wrappers.
Basically, I want $("div#container").html(); to output "
Hi,
Using :not() worked great.
Cheers
Will
On Mar 18, 11:09 am, "T.J. Crowder" wrote:
> Hi again,
>
> *blush* Those same docs tell us that != is also supported by Sizzle.
> Note, though, that:
>
> a[class!=whatever]
>
> ...is the same as
>
> a:no
on(){ //do something });
Doesn't work. The function wont fire on either.
Is this just a slip up or is it for an actual reason?
Cheers,
Will
Have added a new complex markup example
http://logicbox.net/jquery/simplyscroll/custom.html
On Feb 19, 1:13 am, Will Kelly wrote:
> Great stuff, let me know how it goes! Will
>
> On Feb 18, 11:06 pm, Daniel wrote:
>
> > Wonderful! I plan to use this
Great stuff, let me know how it goes! Will
On Feb 18, 11:06 pm, Daniel wrote:
> Wonderful! I plan to use this on the redesign of
> hodgesfarmequipment.com! Thank you, bookmarked!
>
> On Feb 18, 2:41 pm, Will Kelly wrote:
>
> > Hi
>
> > Just released a plugin for
/logicbox.net/jquery/simplyscroll/
Blog post: http://logicbox.net/blog/simplyscroll-jquery-plugin
Would love feedback etc, also would be interested to know how I can
detect Safari/Chrome (webkit), now that I can't use $.browser!
Cheers
Will
I am trying to build a nav bar that is made up of images...as you roll
over each image it either will have a drop down that comes down from
it (sort of like suckerfish) but if there is no div matching it then
it will just do a rollover on the imagecan someone direct me or
tell me if I should
hide everything else.
I've tried using the [class!=client1] filter, but I think it is not
taking into account the second class name. Adding to the confusion is
the possibility that there will also be a class called 'active'.
Setting up an alert simply counts all the thumbnails, e
I choose to validate from PHP because of a couple things.
1. It's more secure because nobody can see my PHP code, but they can
see my jQuery code.
2. If the user has JavaScript disabled, or for some other reason the
jQuery is unable to validate the code, it will still be validated.
On the
I think comparing two strings would be faster than deciding whether a
string begins with another string.
Also, doing one selection would almost always be faster than doing 3,
so I'd say that the first piece of code from the OP would be faster.
It should only require one loop through the DOM tree.
of it changes because you're
> using jQuery.
>
> Could you give a specific example of some jQuery code that doesn't look
> good, and then we can talk about how to clean it up?
>
> -Mike
>
> > From: Will
>
> > I'm sure this is dealt with some
Thanks everyone. I found a solution for my situation.
On Dec 6, 9:16 am, "Dan Switzer" <[EMAIL PROTECTED]> wrote:
> Will,
>
> > Does anyone know of a way to use class like objects in event handling
> > using jQuery?
>
> > For Example,
>
> >
Does anyone know of a way to use class like objects in event handling
using jQuery?
For Example,
where .show() is a method of the Record object. This would be really
cool to be able to reuse the method name .show() but with different
objects verses just coding a huge list of functions that ar
I'm sure this is dealt with somewhere in the jQuery tutorials but I
have not been able to find it.
I'm new to jQuery and used to working with functions and variables so
that I can create reusable code and not have to hard code every event
that could happen. This is pretty much basic programming.
You might want to see if this is your problem:
If you have a set of functions, jQuery or otherwise in the main page,
then you reload an inner div with Ajax content, you will very likely
find that the new Ajax'ed content can no longer reach the functions in
the main page. There is some so
No one? :(
Am I not giving enough information? Wrong information?
Will
On Oct 5, 10:59 am, will <[EMAIL PROTECTED]> wrote:
> Hi jQuery Land,
>
> I'm using jCarousel Lite to do a little tips switcher. I'm using prev
> and next buttons. Next works great. Prev fails
an example of the use :
http://w.rouvre.free.fr
: )
width: 190px;
}
#did-you-know ul {
margin:0;
padding:0;
display: block;
}
#did-you-know li{
margin: 0;
padding:0;
width:190px;
}
Thanks for any help!
Will
PS. sorry if this gets posted twice.
nse
>
> the css-js mouseover effects not working in ajax response.
>
> Please gimme the reason behind this. Lemme know how can we sort it
> out. gimme some code snippents
>
> Thanks in advance
>
> joban john
> while($life) {
>$knowledge++ ;}
>
> ?>
> 1) He who lives by the sword will die by the sword..
Ok Diego, I found a plugin wich works perfectly :
"jquery live_bind"
an example of use :
$.live_bind("a.popup_link", 'click',
function(){
$("#"+popup+"_popup").css("margin-left","-"+
(width.substr(0,width.length - 2) / 2)+"px");
$("#"+popup+"_popup").fadeIn("slow"
Indeed, if i want to have each content of my page wich is load by
Ajax, I will call the specific JS script for each content called
==> it creates a trouble with functions like toggle, etc... if you
visit 10 links on my page, you will have 10 JS script opened !
unless you know how to des
roup, I found some guy who talked about "livequery",
I tried but it seems to not work correctly
I think that your solution is the only one.
best regards
Will
Hello,
I prefer prevent you that I'm french. I post on this group cause
french groups cannot answer to this problem :
When I add dynamically HTML code in a page, Jquery doesn't take charge
of it.
I hope that this example will be more understandable :
3 files : index.html
n fact only the browser handler fires.
A real mouse click causes both to fire.
Can anybody explain this difference? Should I file a bug?
regards,
--Will
g submit button:
$('input[type=submit]').click();
The submit handler isn't fired.
Live example: http://mqlx.com/~willmoffat/learn_feature/jquery/click_submit.html
Is this a bug or a feature?
regards,
--Will
$
("#overlaybutt,#addoverlay").show("slow");
}
return false;
});
return false;
});
Thanks for helping!
On Jun 26, 10:37 am, Will <[EMAIL PROTECTED]> wrote:
> Thanks for the response. I'm still
CTED]> wrote:
> "this.value" not get the value of a
>
> use
>
> if ($(this).val() == 'no')
>
> instead
>
> or you can just use what jQuery does under the hood and say
>
> if (this.options[this.selectedIndex].value == 'no')
>
> O
I have a button (#showgraph) that submits a form, but when this
happens, I want a certain div (#overlaybutt) to appear only if a
certain value ('no') is present in one of the select options
(#initCond).
Here's what I have so far, which isn't working:
$("#showgraph").click(function(){
On Apr 26, 3:37 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> > Has anybody gotten a sIFR'd text element to work properly with the
> > cycle plugin? I can sIFR a element, and I can create a slideshow
> > with that same element, but not at the same time. The first
> > sIFR'd element in the
')[0];
> });
That's exactly what I was looking for.
cheers!
--Will
nu..
FF returns correctly (read: what I expect) and IE7 does not.
any ideas?
I've burned up the better part of the day trying to figure this out.
thanks
Will
descending sort of a column with
datetime values results in:
31-Jan-2008/9:42:08
31-Jan-2008/13:15:35
should be:
31-Jan-2008/13:15:35
31-Jan-2008/9:42:08
thank you!
-will
> You may as well use jQuery for that. :-)
>
> $(document).keydown( function( e ) {
>if( e.which == 27) { // escape, close box
> $(".jqmWindow").jqmHide();
>}
> });
>
> -Mike
nice. ;)
jQuery ftw.
document.onkeydown = function(e){
if (e == null) { // ie
keycode = event.keyCode;
} else { // mozilla
keycode = e.which;
}
if(keycode == 27){ // escape, close box
$(".jqmWindow").jqmHide();
}
};
Toby, thanks! I thought perhaps it was built into jqModal but I
suppose theres nothing like rolling your own.
I couldn't get it to work on your site though. :|
I'll give it a whirl locally.
Thanks,
Will
On Oct 25, 1:36 pm, Tobias Parent <[EMAIL PROTECTED]> wrote:
> Don&
Is there a way to get jqModal dialogs to hide when you hit the escape
key?
Thanks,
Will
Has anyone already written an age verification method for Jörn's
validator.js? Something that would take a given date in an input
field and compare it to Today's date minus "X" years?
Thanks,
Will
$('.stuff dl').Squeezebox();
$("a.expandall").click( function() {
$('.stuff dl dd').slideDown("fast");
$('.stuff dl dt').addClass("selected");
return false;
});
wo
ble to expand all and use on page searching.
Thank you,
Will
That should work swimmingly. I dunno why it didn't occur to me. Load
it into the jqm div and then display the jqm as normal, without any
sorta jqm ajax call.
Thanks!
will
On Oct 1, 2:19 pm, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
> I haven't used it yet, but if I'
Greetings jQuery Land,
I'd like load a specific part of another page into a jqModal box.
like:
$('#mybox').jqm({ajax: 'included.php#this_particular_div_only'});
Any hope for me and mine?
Thank you,
Will
les.comwww.learningjquery.com
>
> On Sep 11, 2007, at 9:45 AM, Will B. wrote:
>
>
>
> > Wow...it did show up, then! Darn. I reposted (almost) for nothing.
> > Thanks for answering, Klaus.
>
> > Is there a way to do this w/o using XPath? Now that it
ring the customID and the cID. Think of it like a
database
query. I've setup so I can "get children" of A:10, B:50, if only I
knew how!
Thanks
- Will B.
Wow...it did show up, then! Darn. I reposted (almost) for nothing.
Thanks for answering, Klaus.
Is there a way to do this w/o using XPath? Now that it's been pushed
off to a plugin, I'd rather stick with core Jquery.
- Will
On Sep 11, 8:31 am, Klaus Hartl <[EMAIL PROTECTED]>
="1" and bID="2", but
(in this case) ignoring the customID and the cID.
Thanks
- Will B.
John & team, you are heros!
Thank you very much for this new awesome effort!
-will
On 11-set-07, at 06:06:24, John Resig wrote:
Hi Everyone -
jQuery 1.2 has been released!
More information (and a jQuery UI sneak peek!):
http://jquery.com/blog/2007/09/10/jquery-12-jqueryextendawesome/
a way to get Toolbars&co height?
something along the lines:
$(window).outerHeight() - $(window).innerHeight()
it would be useful for a window.resizeTo(x,y).
Thank you and have a great day!
-will
using ctrl-shift-r.
>
> On 7/17/07, Will Kelly <[EMAIL PROTECTED]> wrote:
>
>
>
> > Screenshot from FF2 here
> >http://www.logicbox.net/jquery/pricetable/screen.jpg
>
> > On Jul 17, 2:15 pm, "Benjamin Sterling"
> > <[EMAIL PROTECTED]&g
Screenshot from FF2 here http://www.logicbox.net/jquery/pricetable/screen.jpg
On Jul 17, 2:15 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:
> I second Erik on this, can you elaborate on your issue? Maybe send a screen
> shot of what you are getting?
icetable/index2.html
This works on FF2 (with Firebug). I've applied the 'fix' console.log($
("table.prices1"))
Will
On Jul 17, 12:37 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> I'm not sure what problem you're having. The pages appear t
ug installed):
http://www.logicbox.net/jquery/pricetable/index2.html
It renders it correctly with a console.log($("table.prices1")) 'hack'.
Will
On Jul 17, 12:37 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> I'm not sure what problem you're havi
r:last td, tbody tr:last
th",this).addClass('js-btd');
});
};
})(jQuery);
$(function() {
$("table.prices").priceTable();
});
On Jul 16, 1:37 pm, Will Kelly <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Not sure if this is a bug or not, b
This might be of interest.
A php implementation for caching and combining js/css files
http://www.ejeliot.com/blog/73
k fine in
IE6/7, Safari 3beta etc.
Very odd, any ideas? This one's been annoying me for a while now!
Thanks,
Will
e break using
packer3 shrink option, watch out..
Thank you and have a great day!
-will
Dear list,
is there a nice jQuery file upload,
something like:
http://digitarald.de/playground/upload.html
is there a way to get filesize before uploading
using javascript? I know flash can but..
Thank you!
-will
Hi all, any idea?
thank you!
-will
On 29-mag-07, at 06:51:07, Will Arp wrote:
having an issue with svn metadata plugin if compressed with
packer 3.0 beta 8 or beta 9. code below will return undefined,
works fine with uncompressed version.
This is a p
$.meta.setType("attr", &quo
having an issue with svn metadata plugin if compressed with
packer 3.0 beta 8 or beta 9. code below will return undefined,
works fine with uncompressed version.
This is a p
$.meta.setType("attr", "data");
alert( $("#one").eq(0).item_label );
thank you, have a g
o not refresh correctly and it's somewhat confusing to the
user. Is there any way to get around that?
Will
On Apr 24, 4:54 am, "Kelvin Luck" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'd like to announce the beta release of v2 of mydatePickerplugin for jQuery.
> Thi
umbnails img").click(function() {
var large_img = $(this).attr('src').split(".").shift() + '_large.jpg'
//gets image src part before period, adds suffix
$("#mainImage").attr('src'.large_img);
}
Above example is simple and assumes image on has 1 period in it!
Hope that helps,
Will
82 matches
Mail list logo