I just have a small usuability suggestion for a future release
In the Date Range implementation, make it so you could pick the
either start or end date at any time...
so just say a user choses Nov 20th first, then selects Nov
5th (whcih currently isn't possible as it locks out previous
dates),
I ran into this error today and realized i had the ease method spelled
wrong (had 'easeOutBonce' - no u)
Fixing the misspell got rid of the error that is in the subject line
of this thread :-)
On Nov 9, 10:28 am, George GSGD [EMAIL PROTECTED] wrote:
Can you give me some example code?
Good morning all.
I've got a call to an aspx page, nice and simple, the alerts are just
to test:
function SaveThis(key, val) {
$.post(/services/process/config.aspx,
{ Key: key, Value : val },
function(data){
alert(data);
(/services/process/config.aspx,
{ Key: key, Value : val },
function(data){
alert(data.responseText);
}
);
Tony
On 8 Дек, 17:12, MorningZ [EMAIL PROTECTED] wrote:
Good morning all.
I've got a call to an aspx page, nice
$('#img'+j).fadeIn(slow); // fade in selected image (this is what
doesn't work, obviously)
Did you notice that no where did you define or set variable j ?
On Dec 5, 8:15 pm, HXn [EMAIL PROTECTED] wrote:
Hi, I'm brand new to jQuery. Here's what I'm trying to achieve:
I have an unordered
John,
Is there anything out there that points out the differences between
1.2 and this new version?
I just went through browsing the Wiki and didn't see anything like
that
On Dec 16, 9:47 pm, John Resig [EMAIL PROTECTED] wrote:
Hey Everyone -
We just pushed a beta copy of jQuery 1.2.2
Why not just keep a global variable, like:
var _id = 0;
and when you create the new item, use that counter to make like New_
+ _id, and then increment the counter
I've got this simple menu:
ul id=NavMenu class=nav
lia href=/default.aspxHome/a/li
lia href=#Reports/a/li
lia href=#Testing/a/li
lia href=#Links/a/li
lia href=#Profile/a/li
li
a href=#Info/a
ul
lia href=#One/a/li
lia href=#Two/a/li
Anyone have an example of using the show callback of the UI.Tabs?
I am having a problem where for a second or two on initial page load
the un-jQuery-tabbed ul list is showing, and then when the .tabs()
gets run then it shows the tabbed display that i want
So i figured i would set the main div
All right, so after messing around with this i realize now that the
show event fires when the tab is shown (read: clicked on a tab and
then the content shows and then that event fires)
So maybe this is more in a general jQuery on how to attach an event
when jQuery is done doing it's thing
ex/
Yeah, sometimes it's so much simplier than one makes it out to be :-)
Simply starting a wrapping div as display: none and then using the
.show() jQuery method on the line after the .tabs() call did the
trick :-)
If there's one thing i am really good at is over-complicating things,
heh heh
Also i'd suggest using Firebug (http://www.getfirebug.com/), it's
Console tab will tell you errors in the Ajax call as well
On Jan 19, 10:29 am, Rick Faircloth [EMAIL PROTECTED]
wrote:
Now, I've never used Ajax, so this is just a short in the dark
at the broad side of a barn.
With that in
But you brought up semantics, to which the label makes way more
sense in that way in this situation
The error message is a label for the control (and clicking on it
because of the for parameter) sets focus on said control
Personally i think your premise of screen readers getting confused is
not
If i have:
table id=ColumnEdit
tr
thGroup/th
tdselect id=drp_Group class=group //td
/tr
tr
thCompany Type/th
tdselect id=lst_CompanyType multiple=multiple
Got the page live somewhere to look at?
Also, have you tried using Fiddler (http://www.fiddlertool.com/
fiddler/) to see the client request/response for errors?
On Jan 24, 4:39 pm, Vlad Mazek [EMAIL PROTECTED] wrote:
Folks,
I have a bit of a problem with Internet Explorer 6/7
On Jan 25, 4:24 am, Dave Stewart [EMAIL PROTECTED]
wrote:
Hi MorningZ,
I just did some quick Googling on the matter, and turned up this
useful link:
http://www.456bereastreet.com/archive/200711/use_the_label_element_to...
I just had to laugh at this line in that link:
I always use
tag instead 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
Look at the Ajax Tabs section of the Tabs demo page (http://
stilbuero.de/jquery/tabs_3/)
On Jan 30, 9:14 am, carvingcode [EMAIL PROTECTED] wrote:
I have a tab that I don't want the content (generated from a
separate .php file) to load untilt he user selects the tab.
How can I do this?
That is pretty cool functionality
I don't think there is anything but in scroll wise in jQuery core, but
there is an excellent plugin called ScrollTo, it's very flexible and
usefull... might be worth checking out:
http://plugins.jquery.com/project/ScrollTo
Off the top of my head, you could
Saw earlier today that someone went through and commented the whole
jquery.1.2.3 file so it is nice and friendly with the latest version
of studio
http://lancefisher.net/blog/archive/2008/02/12/intellisense-for-jquery-in-visual-studio-2008.aspx
To get jQuery and intellisense working properly,
What is the function test() doing?
And a better way, well my opinion anyways, would be to use two
buttons, one pure HTML calling the block code, and one server side one
with display: none...
have the user click the HTML button/image, call your block code, and
if all is well, trigger the hidden
I'm a .NET programmer, so it's Visual Studio 2008 for me and
with this week's hotfix, using jQuery is a breeze inside the enviroment
I am just curious, as i am trying to learn when jQuery might be
overkill..but why wouldn't that simple
document.getElementById().select() not be a desirable answer?
like i don't see what is, or what can be, gained by jQuery-ifying it
Dave... here is a packed version of UITabs that works
http://www.morningz.com/linked/Coding/ui.tabs.pack.js.txt
Although I'm not getting JS errors any
more on this page...
http://elearningrd.info/tabs/docbuilder/test.php;
Using Firebug, that packed version is still throwing an error (there
One option is to use Dean Edward's packer tool:
http://dean.edwards.name/packer/
If your packed file(s) don't work, you may need to run it through
JSLint (http://dean.edwards.name/packer/) and fix it up before packing
(having proper ending semicolons is a big thing to look out for)
Greybox Redux (http://jquery.com/blog/2006/02/10/greybox-redux/)
Pros:
- Written by the man himself
- Handles static content as well as external links (via iframe)
- Code isn't very long and is easy to modify (for instance, i didn't
like the click outside the modal to close it, so i coded an
Regular expressions would be the answer
var rgx = /^[A-Za-z]+$/;
if (rgx.test($(#TextBoxID).val())) {
// Valid
}
else {
// Invalid
}
btw, maybe use a tool like Fiddler (for IE) or Firebug (for Firefox)
to make sure the server is serving .js files as Javascript (it'll say
text/javascript as the content type in the http headers)... other
than that, i couldn't see any different what server it was/is
What are you installing on the server? jQuery is simply a js file
delivered by HTML and run on the user's browser
Karl (or anyone else that wants to answer),
Since you answered his question, i was hoping i could ask one based on
your answer
Is there any difference/advantage between
$('tbody tr', '#documents')
and
$('#documents tbody tr')
I'm still only a few months into jQuery and have yet to use
The jQuery slider:
http://docs.jquery.com/UI/Slider
Plenty of options to hook into to do the on-the-fly price adjustment
according to the slider's value
there is an onbeforeunload event you can use
http://www.google.com/search?q=javascript+onbeforeunloadie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a
For the life of me, I cannot figure out how to run my own event (in
addition to the events to change the calendar) when someone presses
prev, next, or changes either the month or year select items
Any pointers?
I have already tried like
$(.datepicker_prev a).bind(click, MyEvent);
but it
UI slider would do that:
http://docs.jquery.com/UI/Slider
To be just like the YUI example, you'd hide the slider, show it when
one clicks a button, wire the slide event and change the opacity/
button text
On Mar 2, 9:11 pm, otherjohn [EMAIL PROTECTED] wrote:
Hi,
I would like to make a
Thoughts?
There's at least 4 to 5 topics so far with thoughts about this
book :-)
On click of a button, i
add tables dynamically (using the 1st table as a template) to the page
(using DOM + js).
Hence i end up with multiple tables with duplicate id's
Have a counter of some sort, like a global variable like
var TableCount = 0;
when you add, append this value to the id
It's your application and your code and your functionality... but
something comes to mind
So what if there are gaps in the ID name?
At least that will keep them unique, and if you can use a very similar
selector, just one additional character different in fact, to keep
this very important base
Why not just use the working javascript method of doing so?
and if you are new to the event, it's a very tricky-to-implement event
with little to no customization of what you can do with it
I've been coding a lot of data table stuff recently and i have been
following the pattern of what the plugin inGrid does:
which is have an empty table like:
table id=Replace_Table
thead
tr
thData Column/th
thUse in Email Body/th
thTest
A good trick for that is to hide the content you are manipulating, and
then for the last line of the Ready() event, do a .show() and now
the only thing the user will see is styled and complete elements
I think what people are trying to get through to you, and i
wholeheartedly agree, is that it
What are you trying to fade from what to what?
Like is the before and after colors both visible? (like for instance
blue text on a white background to red text on a white background?)
If that's the case, running some sort of counter from one hex value to
the other would be the way to go
Well, just throwing this out
but to remove the html of a div and animate it, you could say like:
$(dv).fadeOut(slow).html();
Why not just set a globally available flag?
script type=text/javascript
var _PageIsLoaded = false;
$(window).load(function(){
_PageIsLoaded = true;
);
/script
Now _PageIsLoaded will tell you if the page is loaded or not
I've got an object in my javascript that keeps tracks of controls and
their values and am trying to pass it to the server to use with James
Network-King's excellent ASP.NET Json object
So it allows me to pass a JSON-d object to it and i can manipulate it
it in my VB code
Problem i am having is
For the first:
As long as you do not explicitly set the maxDate option (http://
docs.jquery.com/UI/Datepicker/datepicker#options), there isn't any
problem selecting dates in the future
For the second:
I'm no expert on the datepicker and all it's inner workings and that,
but if i had to do what
What I would like to do though is to have a hand (or some other
meaningful icon) show up on mouse over instead of the cursor. Is there
a way to do this?
Drop the a tags and just use CSS:
cursor: pointer
http://www.w3schools.com/css/pr_class_cursor.asp
Maybe it's just me, but async validation makes absolutely no
sense. you don't want your process to continue unless the data is
valid
Say you do kick off the validating of your fields in that manor, what
are you going to do right after you kick off the process?
On Mar 27, 12:36 pm, Brian
What others... the page seems to work just fine (FF 2.0)
To note: firebug reports a 404 error for http://c21ar.wsm-dev.com/cfm/
images/loading.gif
On Mar 27, 9:45 pm, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi, all...
Got some strange sliding going on.
Here's the link:
That more detailed reply makes much more sense
If i was doing something like this, i'd have a little dictionary going
on like
var Validations = {};
Validations.Name = false;
Validations.UserName = false;
Validations.Email= false;
Validations.SomeOtherField = false;
and figure out at what point
see no mention of using forms inside of the jqModal window?
What's to mention? There is nothing special about a form inside the
div that would make up the modal window's content, it'd be just like
anything else on the page
Why wouldn't you just start mydiv off as hidden (style= display:
none)?
I can't seem to find any talk/reference on this exact error, but in
the jQuery core file at line 1298 (inside the attr function)
the line
elem[ name ] = value;
was throwing an error in IE7, preventing some other
Might help others help you if you give a snippet of the code that
doesn't work
I know you are looking for a whole library and all, which i could not
answer, but i do have a common.js file i use where i pieced together
*some* utility functions in js
function Left(str, n){
if (n = 0) {
return '';
}
else if (n String(str).length) {
ASP.NET 2.0 here, along with a few helpful add ons to help me with
jQuery:
- Wilco Bauwer's ID Override (http://www.wilcob.com/Wilco/Toolbox/
WilcoWeb.aspx) which keeps MasterPages and UserControls from messing
with the control IDs
and
- Jason Newton's Json.NET library
Use a generic handler (ashx file) to spit out the needed list as plain
text
On May 6, 5:33 am, Lokesh [EMAIL PROTECTED] wrote:
Hi,
How can I use jQuery AJAX Autocomplete script to call my AJAX method
from ASP .NET instead of php.
That is a way cool plugin, very nice work i look forward to
getting to implement it on this site i am working on
I just noticed that the page is now indeed updated
Looks like lots of good fixes in there
I have included the jquery and other scripts in this file to simplify
code mangement
How is that simplifying management?
If a new release comes out (of either jQuery or any plugins you are
using), surely it's obvious that it's easier to replace the single
file in question than go into this big
Any many huge corporations and govt branches are slow to update as
well it's certainly not their fault, so why would you
purposefully annoy them?
If you want to just make life easy, include jQuery in your layout/
masterpage and call it a day... it's only going to get downloaded once
( 30k if you use the packed version) and cached on the user's browser
whenever the first page is loaded, so it's not like it's downloaded
again and again on
Have you fired up a tool like Fiddler (http://www.getfiddler.com) to
see what particular item it is hanging on?
Why not just simply use document.getElementById? (which
ultimately .val() uses anyways)
Might want to put all that in the same $(document).ready() block so
the code all runs in the order you want it..
tell me more about the Firefox Net Tab
See
http://www.getfirebug.com
Brice:
Thanks a lot for all the hard work, your plugin is one of the most
used ones in my applications
Glad to see it playing nicely with the new jQuery version
How about
$([EMAIL PROTECTED]).each(function() {
var link = $(this).attr(href);
$(this).tooltip({ bodyHandler: fetchLink(link) });
});
if that doesn't work, show some of the HTML of the hyperlinks and what
you'd like the end result to be
Some one can help me please?
Why not use the Contact Us link on the top right and ask them?
this.value not get the value of a select
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')
On Jun 25, 11:13 am, Will [EMAIL PROTECTED] wrote:
I have a button (#showgraph) that submits a
Right from the changelog (http://jquery.bassistance.de/autocomplete/
changelog.txt):
* Updated package to jQuery 1.2.5, removing dimensions
older versions (not exactly sure how old though) didn't have the
dimensions built in
Use readonly instead of disabled
See: http://www.htmlcodetutorial.com/forms/_INPUT_DISABLED.html
You are missing commas in between your inner {}'s
for instance, your JSON is this (and this is just the first two
records)
{
275: {
tags: ,
name: 1st Wickham Scout Group,
code: 1stWickhamScoutGroup
}
1: {
I just noticed that firefox dosen't support the z-index
Of course FF supports z-index...
something is wrong with your code/markup, not with FireFox or jQuery
Got a live link to show what you cannot get working?
Doesn't look very easy (yet anyways), but there's plenty of options
http://www.google.com/search?q=css+cross+browser+glow
jQuery could help apply the styles and like
The problem, as far as I can
tell, stems from what appears to be an early execution of the
document.ready function - in this case before an external stylesheet
has been loaded
document.ready fires when the DOM is loaded, it doesn't wait for
external things to load, that's the whole point! :-)
$('.equipment a.i-right1:eq(1)').hide();
$('.equipment a.i-right1:eq(2)').hide();
$('.equipment a.i-right1:eq(3)').hide();
$('.equipment a.i-right1:eq(4)').hide();
$('.equipment a.i-right1:eq(5)').hide();
$('.equipment a.i-right1:eq(6)').hide();
$('.equipment a.i-right1:eq(7)').hide();
Just to note on:
I was trying to get an alert to fire after some of the page loads,
(but before ().ready)
'load' is always going to fire *after* 'ready'
This should clear out the Select All whenever one of the checkboxes
is clicked/changed
$(':checkbox').change(function() {
document.getElementById('selectAll').checked = false;
});
That strange format *is* JSON !
Yes, it's possible
it would be like
function SomeEventYouCallOnRowDoubleClick() {
$(#ID_of_JQM_Window).jqmHide();
}
A tool like Firebug will let you view the Response Body of an XHR
request, which includes seeing the JSON as a plain string
I took that JSON and plugged it right into JSONViewer (http://
www.codeplex.com/JsonViewer)
and no problems with it
i'd say something else is causing the screw up, because it's
apparently not jQuery or the JSON
All right, here's my situation
I have a bunch of articles stored in my database, plain jane HTML ones
submitted by a few hundred different people (read: people of all
varying levels of HTML expertise, from none to expert)
In some of these HTML snippets are div's and tables and other
items that
Maybe post your code or a link to the page so others can see
If you go to their demo page:
http://www.filamentgroup.com/examples/menusHierarchical/
you can grab all the needed files (which appears to be 3 js and a css
file) using Firefox and firebug
var TotalWidth = 0;
$(#id_of_div img).each(function() {
TotalWidth = TotalWidth + $(this).width();
});
On Aug 20, 7:56 am, ToM [EMAIL PROTECTED] wrote:
Hi,
is there a way to calculate the width of all images in a specific
div.?
the images do have the width-attribute!
ToM
Well, the dropdown part is just cascading dropdowns, there's a ton
of jQuery variations of that
The second is simply an autocomplete textbox (http://
plugins.jquery.com/project/autocompletex)
Wire up the Tablesorter code *after* the table is on the page
$(document).ready(function(){
$(#menuitem).click(function(event){
$(#outputdiv).load(script.php);
$(#outputdiv table).tablesorter();
});
});
fixes the problem.
Other than doesn't work, what is the problem (what does firebug tell
you?)
Hmmm i got this to work just fine... perhaps differences in
ui.js (as you can see, mine is right off the official site) ?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html xmlns=http://www.w3.org/1999/xhtml;
head
Maybe get the dev version and pack it yourself (http://
dean.edwards.name/packer/)
would be worth a shot
I don't have time to work up an example, but what you want to do would/
could involve:
.clone
http://docs.jquery.com/Manipulation/clone#true
and
.remove
http://docs.jquery.com/Manipulation/remove#expr
a quick plugin to do a simple if statement?
if ($(img).length 0) {
$(img).doSomething();
}
It's definitely *possible*
but it would be highly suggested to make this total row on the
server's side
if you are dead intent on doing it client side, it would be something
like
$(#table tbody tr).each(function() {
// Your code adding the inner text values of the needed table
cells
What's going on?
If it's a Windows-type login you are getting hit with , then your
script, the actual js file, doesn't have proper permissions given to
the IIS user
.find() should help
$(this).find(ul li a).each(
)
$(input[id$='date'])
actually, more precise would be:
$(input[type='text][id$='date'])
and this is right off the jQuery documentation
here:
http://docs.jquery.com/Selectors/attributeEndsWith#attributevalue
and here:
http://docs.jquery.com/Selectors/attributeMultiple#attributeFilter1attributeFilter2attributeFilterN
I was just messing around with this plugin yesterday, and i love it!
http://i38.tinypic.com/30deagg.jpg (screenshot of me using it)
Only thing i couldn't figure out was how to *not* generate h3
headers/tag... my work around was setting:
#tooltip h3 { display: none; }
and my titles had to
I don't really follow on the bodyHandler option
for instance, there are my links:
a href=someurl1.aspx class=PN_Link title=I am a tooltip for
link1br /See me tooltipLink 1/a
a href=someurl2.aspx class=PN_Link title=I am a tooltip for
link2br /See me tooltipLink 2/a
and to wire it up have:
1 - 100 of 1283 matches
Mail list logo