Ok, lets take a step back. Lets say I want to just try and bind the
events, rather than using Livequery to see if this fixes the problem.
Since I want to bind the draggable UI, how would I do this? What kind
of event does the draggable get, click?
$("#adminEditListingB .itemHolder a").drag
Hi ccollie,
I can't visualise exactly what your issue is. Can you post an example please?
Cheers
Joel Birch.
Hi Joe,
Be aware that by using spans instead of anchors you will be breaking
keyboard access to the submenus. Maybe using an anchor without a href
attribute would be a better option? If you still want to use spans
then you could probably change this line:
if (o.autoArrows) addArrow( $('>a:first
Hi,
I can't visualise your issue - can you please post a liink to the
working example?
Cheers
Joel Birch.
Hi Andy,
Sorry you are still having issues, but I still haven't had time to
look at this. If you could package up a set of files showing the
problem that I can debug locally I may get to it sooner. Supersubs is
still in a "use-at-your-own-risk" phase at the moment.
Joel Birch.
Sorry I got cut off.
Using sDumper( $(this).parents('form') ); to dump the result visually
I can see that length = 0, and there is only one parent object - tagName =
'IMG'
So to me at least it doesnt look like its doing what it should?
Any further help would be great - thanks!
On Tue, Aug 26,
Thanks chaps, there is no nesting of forms, I know thats invalid. Here is
what the code looks like
Shop > Active Products
Got it. I used stop() to halt the animation but it leaves all the
styles so some manual clean-up does the trick
On Aug 24, 10:14 pm, clrockwell <[EMAIL PROTECTED]> wrote:
> Is it possible to stop (or reverse) show() if someone hovers over an
> element and then mouses out before the show() is com
Nobody has any insight on this? If more information is needed, please
don't hesitate to let me know. It just doesn't seem logical that this
behavior is unavoidable because it would render the show function
useless as a hover; I have to be doing something wrong.
On Aug 24, 10:14 pm, clrockwell <
Hello all,
I'm not sure if this is the right list for this posting, but Christian
Bach, creator of the tablesorter plugin, recommended I "email the
jquery list" to ask if anyone was interested in developing a custom
plugin or customizing the tablesorter plugin for a some work I need to
get done.
I don't know, what do you want to do there? You said this is for feedback,
so I assume you may want to display some kind of message after you receive
it.
Your server should send back a JSONP response of some sort. You can put any
kind of data you want in it, maybe a status code and an HTML messag
I don't really follow on the bodyHandler option
for instance, there are my links:
Link 1
Link 2
and to wire it up have:
$(".PN_Link").tooltip({
track: true,
delay: 0,
showURL: false,
opacity: 1,
fixPNG: true,
extraClass: "pretty fancy",
t
The autocomplete plugin
(http://plugins.jquery.com/project/autocompletex) can do that. Set the
one up as usual, and configure the other one with a dynamic extra
paramter:
$("#second").autocomplete("url", {
extraParams: {
first: function() {
return $(
Look:
$(function() {
$("#name").autocomplete("someurl");
});
That does nothing but bind a few event handlers. It doesn't create DOM
elements, nor does it load any records.
As soon as the user starts typing, the keyup-event-handler loads some
data via ajax - how many rows are returned is up to
Thanks Mike! I understand now why I need to do a GET and can't do a
POST. What would I do in the function(response){} part?
On Aug 25, 4:13 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> You can't do a cross-domain POST. JSON or JSONP don't add this capability.
> You just can't do it.
>
> You
I am having an issue with the menu being extremely slow when I have
the following position set to static.
.sf-navbar li {
background: url('images/menu_tab.png') repeat-x;
height: 54px;
position: satic;
margin:
Thanks Mike! I understand now why I need to do a GET and can't do a
POST. What would I do in the function(response){} part?
On Aug 25, 4:13 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> You can't do a cross-domain POST. JSON or JSONP don't add this capability.
> You just can't do it.
>
> You
I have already received some feedback on this, but Im still stuck.
I am basically looking to add a table filter to a table by using a
dropdown or a series of dropdowns that will filter the data. The
first link i was checking out is here.
http://book.learningjquery.com/bookstore/news/
i was usi
Hi,
Anyone know of a jQuery plugin similar to the Autocomplete that could
do the following?
I have a mysql db with two columns, 'Lot No' and 'Description'.
I have a form with two input fields, 'Lot No' and 'Description' and
I'd like the 'Description' input field to be auto-populated from the
dat
You could use the bodyHandler-option to return exactly the content you
want to have. That automatically hides the header (h3).
Jörn
On Mon, Aug 25, 2008 at 8:07 PM, MorningZ <[EMAIL PROTECTED]> wrote:
>
> I was just messing around with this plugin yesterday, and i love it!
>
> http://i38.tinypic.
Run your "is there anything in it" check again "on load". So something
like (untested):
$(document).ready(function() {
$('#loginArea').addClass('active');
function flagEmpty( elem ) {
elem = $(elem || this); // if "elem" isn't passed in then use "this"
if (elem.val().length > 0)
el
LowPro would probably be th ebest solution for you.
Rey...
Shao Kang Tat wrote:
Hello all,
I've googled this topic...
I found one page that was an April Fool's joke but I'm not entirely
sure if it's legit or not?
http://ejohn.org/blog/classy-query/
Then there's Low Pro at:
http://www.danwebb
document.getElementById("someId") returns a plain old DOM node.
$("#someId") returns a jQuery "wrapped" DOM node, which you can use
all the jQuery functions on.
So to use jQuery to remove the attribute you'd do this:
$("#DeleteButton").removeAttr("disabled");
Note the shortened function name:
just spotted this new entry in the plugin rss feed, an impressive effect
plugin !
http://webdev.stephband.info/parallax_demos.html
Alexandre Plennevaux
LAb[au]
http://www.lab-au.com
You can't do a cross-domain POST. JSON or JSONP don't add this capability.
You just can't do it.
You can do a cross-domain GET, of course, and use query parameters to pass
data to your server.
So, you can use $.getJSON with query parameters in the URL and the callback=
option for JSONP, and have
Arron,
You'll need to do the initialization in the DOM ready block. Take a look at
http://docs.jquery.com/How_jQuery_Works under the section titled "Launching
Code on Document Ready". In your case, you probably need something like
this -
$(document).ready(function(){
$('div#logo').cssPNGF
Thanks Mike, that works well.
Further to this, I am trying to have a function called only when the
toggle is "open" or active, e.g.:
$('#rides_button').click(function () {
$('#rides').slideToggle("slow", function () {
$.getJSON("rides.php", function(data) {
The .clean() method tries to replace empty elements defined as with
. Here's the code from .clean():
// Convert html string into DOM nodes
if ( typeof elem == "string" ) {
// Fix "XHTML"-style tags in all browsers
elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front,
what do you mean initialize the script??? I added it to the html file
using the
i have a menu where each top level is preceded by an icon image.
I also use supersub.
The menu renders fine, except there is a gap between the top level
items and the popups. Anyone has any insight ?
ccollie
I was having similar problems today and it turned out I had blank
lines in my php script, before I had http://ie2.php.net/header has an example that uses on the line
before .
You can check the content type returned by hitting CTRL+I in Firefox,
though it will be pretty apparant if it is the cor
I would start with splitting the list of emails, and then loop the
array and in every instance of the loop validate the email adress
/Hasse
On Aug 25, 9:05 pm, koolkat <[EMAIL PROTECTED]> wrote:
> Is it possible to use jquery to validate a comma separated list of
> emails? If yes, how should thi
This is what someone on this list gave me about 2 weeks ago:
// the focus / blur functionality of the text input
// fields for the email a friend form.
$('#input.email').bind('focus', function() {
// Set the default value if it isn't set
if ( !this.defaultValue ) this.defaultVal
I have a script that displays username and password as background
images in the input fields when the field is empty and they removes it
when on focus (or when there's content left in the field). I then came
up against the issue where if someone's browser populates the input
fields after their bro
I am hoping several jQuery people will post examples of their
programs, with explanations. In any case, you can share
and learn from others on this group, if things go well.
(See the first 7 posts for the rationale for the new group.)
New group to display and share and explain examples of intera
Hello all,
I've googled this topic...
I found one page that was an April Fool's joke but I'm not entirely
sure if it's legit or not?
http://ejohn.org/blog/classy-query/
Then there's Low Pro at:
http://www.danwebb.net/2008/2/3/how-to-use-low-pro-for-jquery
So is there a final version that's incl
I am trying to use the coda slider with jquery here:
http://www.roxstyle.com/projects/blssi/blssi-portal/v1-e/product-tss.html
And i'll preface this by saying that i am much more of a designer than
scripter(much more). the problem is that using mac with Firefox
2.0.0.14, on the "products" area
1.
I created a plugin for assigning default values to form fields and it
has the same functionality you are looking for. Check it out:
http://www.jason-palmer.com/2008/08/jquery-plugin-form-field-default-value/
On Jul 24, 5:30 pm, Janine <[EMAIL PROTECTED]> wrote:
> I am quite new to jquery and in
My apologies if this has been asked before; but in searching I can't
see that anyone asked quite the same thing in the past. I have a
frame-based website with two frames: UPPER and LOWER. The UPPER frame
contains a static navigation bar that rarely changes during a user's
session; the LOWER fram
Is it possible to use jquery to validate a comma separated list of
emails? If yes, how should this be done?
Thanks
First of all...thanks for the help!
I have about 4500 records in the database (its an employee
database)...if I understand correctly...on the document ready should I
bring in all 4500 records? Would the autocomplete be slow to respond
due to all the records
The reason I was doing an onKeyUp
I am creating a widget where someone can post a note about the page
(feedback). I am currently using AJAX to pass the information to my
server, but I want to now use JSON, so that I can put it on one of my
other domains and still send the info to my original domain. This is
the function I curren
The code:
$("#formID").validate({
errorLabelContainer: $('#error_list'),
}
});
The html:
The following errors have occurred...
Please enter the first name
First Name:
When submitting, everything seems to be working as it should, the
"error" class is being app
Have you solved this problem? I'm having the same issue. Thanks.
On Aug 7, 4:30 pm, sprak <[EMAIL PROTECTED]> wrote:
> The issue seems to be rooted in trying to do some cross-site AJAX
> magic. I need one site in our domain (foo.bar.com) to be able to
> fetch the cluetip HTML from another s
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
headers/tag... my work around was setting:
#tooltip h3 { display: none; }
and my titles had to be
On Mon, Aug 25, 2008 at 11:20 AM, GLP <[EMAIL PROTECTED]> wrote:
>
> Huh, what Javascript groups :) ??
For those of you wondering, I believe the "javascript group" that john6630
was referring to is the comp.lang.javascript newsgroup[1]
[1] http://groups.google.com/group/comp.lang.javascript/topi
I do load it immediately, but I have other functions which rely on the
data being loaded, and currently they are firing before the getJSON
function is completed. I need some way to check that the data has been
loaded before executing those functions. I'm sure there's some sort of
event I should be
Nevermind, it was executing prototype's each() (I was also including
prototype on the same page) instead of jQuery's.
Why this changed from 1.2.4 to 1.2.6 (everything else being equal)
remains a mystery to me.
On Aug 25, 1:12 pm, mausch <[EMAIL PROTECTED]> wrote:
> I'm having the same problem her
Thanks Karl.
On Aug 25, 12:21 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Or, if you want to do it in one fell swoop:
>
> var z = $('div, span');
>
> --Karl
>
>
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Aug 25, 2008, at 12:14 PM, Karl Swedberg wrote:
>
> > H
Huh, what Javascript groups :) ?? I learned much more about JS
reading this group and playing with jQuery than anything else.
Besides a few good links to explain that associative arrays really
don't exist in JS but you can use them anyway, never needed much
more. This is indeed a fine place to
Images in in option lists are not conform HTML standards and won't
work if you stick to them. You need a solution to mimic the behavior
of an optionlist using style sheets and use of tags like for
example.
There are a few different approaches to find about here.
P schreef:
> I have a select b
Got it. Thanks.
On Aug 25, 10:33 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> You can use the highlight-option to remove the success class.
>
> Jörn
>
> On Mon, Aug 25, 2008 at 4:16 AM, xxkylexx <[EMAIL PROTECTED]> wrote:
>
> > Hey guys,
> > I am using JQuery Validation Plugin and am getting
Hi,
I discovered JQuery today and would like to try it out in my current
ASP-Project. So I downloaded the JS, added it to the ASP-File - and
when I now launch the page, I'm asked for a password - this is not
foreseen and clearly only happens when I include the script. What's
going on?
Thanks
Mi
Nice it works great. Thx for you help!
On 24 aug, 13:56, Sarbesh <[EMAIL PROTECTED]> wrote:
> instead of "div" you can use "span"
>
> Je mag weer spelen over span>!
No, names are required. You'd have to modify all occurences of
element.name, which I can't recommend.
Jörn
On Mon, Aug 25, 2008 at 6:10 PM, Gabriel Schenker <[EMAIL PROTECTED]> wrote:
>
> Hi, is it possible to use the id attribute of an input element instead
> of the name attribute to identify an
Thanks jorn!
On Aug 24, 3:10 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'd like to announce a small update for the href="http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/";>jQuery
> tooltip plugin. The support for image maps is back, the deprecated
> $.fn.Tooltip is gon
Or, if you want to do it in one fell swoop:
var z = $('div, span');
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 25, 2008, at 12:14 PM, Karl Swedberg wrote:
Hi Jonathan,
Try this:
var x = $('span');
var y = $('div');
var z = x.add(y);
z.each(func
Hi, is it possible to use the id attribute of an input element instead
of the name attribute to identify an element when defining a rule,
e.g. 'SetLengthRange'?
If not, could the code of the plugin be easily modified (by myself)?
Where would I have to look?
I'm having the same problem here. If I execute the following in a
firebug console in one of our pages:
jQuery('input').each(function() {console.log(this)})
With 1.2.4 I get the individual elements:
...
With 1.2.6 I get one array containing all matching elements:
[input, input#InputSearch,
Hi Jonathan,
Try this:
var x = $('span');
var y = $('div');
var z = x.add(y);
z.each(function(){alert('yo');})
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 25, 2008, at 11:19 AM, Jonathan C. Dietrich wrote:
What is the easiest way to combine the
Hi,
You need to go up and then over. Inside your click handler, do this:
$(this).parent().next();
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 25, 2008, at 5:17 AM, Sarbesh wrote:
is it possible to find the next tr from td using next() or any othe
The site is responsive now and we're looking to see how we can work to
minimize these issues. We're equally as frustrated as everyone.
Rey...
Sudara wrote:
Hi there!
Anyone else have somewhat regular issues with http://docs.jquery.com/
being regularly slow and/or unavailable over the last f
Thanks a million, Karl!
On Aug 25, 11:14 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hey Chris,
>
> The problem is that you have an improperly nested form element. It
> should work if you do this ...
>
>
>
> ...
>
>
>
> instead of this ...
>
>
>
>
I have a select box that looks like this:
1
2
3
4
5
6
Now instead of showing it as an regular select box I'd like to present
images to the user.
I have one image prepared if the option is selected:
rating_x_selected.gif (where X is the number 1-6)
And one image if the option isnt selecte
What is the easiest way to combine the results from multiple jquery
objects.
for instance if i want to do an operation with each span and div tag
x = $('span');
y = $('div');
x.each(function(){alert('yo');})
y.each(function(){alert('yo');})
is there a way that i can combine x and y in z so tha
I think this will do it:
http://flesler.blogspot.com/2008/05/textnode-translator-for-javascript.html
Or alternatively you can try:
http://code.google.com/p/jquery-translate/wiki/NodesContainingText
This is a part of the Translate plugin, so it's a bit larger. A main
diference is if an element c
Hey Chris,
The problem is that you have an improperly nested form element. It
should work if you do this ...
...
instead of this ...
...
I took the html from your page and pasted it up here wi
I am trying to get datepicker plugin (http://eyecon.ro/datepicker/
#about) to work on a page, and I can't get it to work for some reason.
I keep getting the following 2 errors:
jQuery is not defined
datepicker.js()()datepicker.js (line 819)
[Break on this error] })(jQuery);
datepicker.js (line 8
You're binding the autocomplete on keyup, which binds another keyup
event - every time. Remove your inline event handler and initialize
the autocomplete just once on document ready.
Jörn
On Mon, Aug 25, 2008 at 4:52 PM, kreiss <[EMAIL PROTECTED]> wrote:
>
> Following the documentation, it seems I
Following the documentation, it seems I'm doing it correctly...I'm
getting data back from my database, but I just have to click out of
the textbox first before I see the data, other than that it works
great.
Jörn Zaefferer wrote:
> Please take a look at the examples here:
> http://dev.jquery.com/
Sounds like a really good idea.
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
> GasGiant
> Sent: Monday, August 25, 2008 9:49 AM
> To: jQuery (English)
> Subject: [jQuery] Re: Best practices for including Jquery
>
>
> I load site w
Thanks Mike. It appears I'm just not understanding something very
basic about this great plugin.
My goal is exactly what you are doing here:
http://www.appelsiini.net/projects/jeditable/default.html
on the Textile Render portion.
When the HTML is displayed the line breaks are exactly like when
You can use the highlight-option to remove the success class.
Jörn
On Mon, Aug 25, 2008 at 4:16 AM, xxkylexx <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
> I am using JQuery Validation Plugin and am getting a bug that I can't
> seem to figure out.
>
> When the user inputs a correct input, it shows my
I'll second this. Good group, here. Don't get old and cranky. If you
get sick of answering our noob questions here you can flame the
javascript lists to get it out of your system ;-)
On Aug 24, 8:54 pm, john6630 <[EMAIL PROTECTED]> wrote:
> As a newbie, I want to express my appreciation to the co
On Aug 25, 2008, at 4:31 PM, Chris Hall wrote:
However, using this example, when I click on the text area to edit it
I see that it looks correct (no br tags and the line breaks are
present). However when I save the text area the display isn't
correct The breaks aren't there (it appears they
Hi Peter,
This FAQ topic should answer your question:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
It describes the problem and provides a couple typical ways to
overcome it, in addition to pointing out a few jQuery plugins that do
Thanks for that example. It is starting to make sense to me.
However, using this example, when I click on the text area to edit it
I see that it looks correct (no br tags and the line breaks are
present). However when I save the text area the display isn't
correct The breaks aren't there (it a
Have you tried using the callback methods for adding the events to the
Ajax-inserted markup? See .ajaxStop(), etc.
I load site wide code in the , but since the header is an
include file that is the same for every page, I also use .getScript()
to load page specific code for forms, plug ins, etc. where they are
needed. I put the page content in a with an id element specific
to that page and only load the code i
Thanks
That has been corrected, but just as you guessed that was not the
issue.
The code has been updated here:
http://www.leaguefighter.com/test.php
Select any of the radio buttons, then click the link TEST and click on
the new radio button.
It works for me in IE but not Firefox. I'm sure
At least I can answer my own question #1 now: disabled-attribute needs
to be removed if it shouldn't be applied, setting it to blank does not
help. So my code was changed to:
function SetDeleteStatus()
{
var foo="disabled";
$("#gvFolderItems input:checkbox").attr("checked",function()
Scott,
>I am trying to do a footer at the bottom of the table, and I would
>love to use jquery to provide a total in the footer, something like
>this:
>
>1 | 1 | 3
>2 | 1 | 4
>--
>2 | 2 | 7 (JQuery added the TDs above)
>
>
>Is it possible? And can anyone point me in the right direction.
The only reason to include JavaScript files at the end of the body
instead of the head is because scripts block other downloads. If
you're not experiencing any long page load problems, you can just
leave the includes in the head.
There was a good post about this on the YUI blog:
http://yuiblog.c
I am trying to populate the autocomplete with list fetched from DB
(SQL server 2005), i am using ajax to do this.
But, i am facing some problem in which format the list fetch from DB
should be passed to the jquery.autocomplete.js
By the by i am using Java and Jsp. I have tried to pass as string,
a
> var myinput = '' +
> response + '';
That is not a valid input tag. Per the DTD, input tags should not
have any "content":
'
+ response + '';
Hi,
I have a table (GridView from ASP.NET) which has a checkbox in every
row and a Delete-Button in the header. Now this button should only be
enabled when at least one checkbox is checked, without any elements
being checked, it should be disabled.
So here's the button:
And here's my js
is it possible to find the next tr from td using next() or any other
events.
Show
..
.
so when i click at "Show" i need its immediate tr, in this case tr
with id 2 to hide/show
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#attributeFilter1attributeFilter2attributeFilter
$("input[id$='date']")
Greetings,
I'm trying to use Replace to work-around the fact that ".append()" and
".html()" strips any .. tag(and everything in between?).
ie. i was trying to do:
$.get("SOMEURLGIVINGdataOUTPUT,function(data){
$("li#SOMEid").append(data.replace(/script/g,"escape"));
$("li#SOMEid").html($("li#SO
I have a weird issue that only seems to be a problem with Firefox, but
works ok in IE.
I'm adding a radio button using .appendTo and adding the button works
fine, but with Firefox it appears the button is not in the correct
group as selecting it will not deselect anything else in the group.
Sele
Hi, Jörn, thanks alot for the reply.
Yes, that's exactly what I've tried.
This icon of mine lines up with other elements and it disrupted the
layout.
I didn't spend too much time on that because I thought it might be
possible to call the collapse action from anywhere
But no sweat, then I know
Hi again.
Forgot to show the error I get from my initial code:
$("").html(e.highlight(a, term)).addClass is not a function
I will look more closely to your code GLP, altough I didn't understand
it quite at the first glance :-)
Hey guys,
I am using JQuery Validation Plugin and am getting a bug that I can't
seem to figure out.
When the user inputs a correct input, it shows my success class, but
if you create an error after the success class has been triggered, the
success class stays there with the error message as well.
Sorry folks, I found out I was wrong, that authentication-prob. still
is there after removing jQuery. I still have no idea where it comes
from, but surely jQuery is not the source.
Apologies, my fault, should have checked better beforehand
Michael
How can I select all text inputs that have an ID that end in date?
Thanks
Scott.
Hello everyone,
I have a question regarding the Tabs UI that JQuery has.
At the moment when you select a tab you can't click it again. Is there
an option I can set (didn't find it) or a change I can make so that I
can click on a tab twice? Now the link gets removed from the DOM when
a tab is sele
I have wirted a countdown code like this:
jQuery.extend({
buildprocess: function(seconds,target,json) {
var self=this;
$("#"+target).append(""+json.t+json.l+"level")
var ___timer=setInterval(CountDown,1000)
function CountDown()
{
$("#bing_"+json.t+"_"+js
Is it possible to stop (or reverse) show() if someone hovers over an
element and then mouses out before the show() is complete?
On Aug 24, 2:39 pm, clrockwell <[EMAIL PROTECTED]> wrote:
> Hello all, I could really use some insight in this. I am using the
> following jquery to show a menu on hov
Currently, I use jquery's ajax function to create dymanic pages. But I
don;t think I understand to to correctly make jquery event listners
respond to the the DOM elements that I added via ajax response. I'll
give an abrevated example below
The function of the below script is to pop an alert box
1 - 100 of 107 matches
Mail list logo