I think I identified the source of the problem but I am still unclear
how to fix it. There is this bit which is explained as "offset is
used to move to *exactly* the right place, since I'm using padding on
my example, I need to subtract the amount of padding to
the offset. Try removing this to g
To answer my question, onload event seems to be working, so instead of
ready, it should be load function.
mysvg.load(function(){
above code goes here
});
It is similar to images. Firefox DOM is ready before an image is
ready. It looks like it is also ready before an objec
I just built one of these types of auto-completers the other day, and what I
had to do was create multiple hidden inputs with the name appended in
brackets. That way each of the values would be submitted instead of just the
last one.
So if you have a text input like this:
Then you would need to
I am in a real bind on this issue. Is anyone able to answer? Help
would be greatly appreciated if you can!!
On Nov 22, 10:50 am, OhNoMrBill <[EMAIL PROTECTED]> wrote:
> Here is the scenario I am trying to deal with currently:
>
> I have a link that looks like:
>
> Some Link
>
> All the url links
Does anyone know of a good example of an object-oriented plugin for jQuery?
The reason I ask is that the jQuery convention is to return *this* at the
end of the plugin to allow for chaining. While that's great for simple
plugins, some of my advanced plugins instantiate object that I would like to
Do you know if this plays friendly with the jQuery event model?
Looking through the source code, it has its own implementation of "fix" for
events, along with its own data storage for event handlers.
Without testing it, I would tend to think these two libraries wouldn't jam
up and cause a mess
I'm not an expert in the animation sytem -- you should open a ticket
(dev.jquery.com) and get some others to take a look at it.
When I stepped through the code, I found a potential problem here, line 3043
of jquery.js
// We need to compute starting value
if ( unit != "px" ) {
self.style[
Hello,
On a form I am remote validation for an email.
However, to this validation, I also need to provide the inserted
username which is on another text box.
I am using the following:
$().ajaxSend(function(event, XMLHttpRequest, ajaxOptions) {
ajaxOptions.data.username = $("#Username").val();
Hi all,
i have tried to transform a bind example to my situation, but i can't
get it working.
Via my menu, i load a form which i want to validate.
( with Validation plugin from
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Loading the form into my content div works fine, validat
Hey,
Can you send me your code to look at. Are you trying to update a DIV
or use it as a succss show?
On Nov 22, 6:08 pm, davidgregan <[EMAIL PROTECTED]> wrote:
> I'm using the jquery forms plugin for an ajax request and update. I
> set the target option to the desired div that I want to update.
> I was combining the ajax form plugin with the ajax validation plugin, which
> is why I need to call ajaxSubmit. I wrote up the details
> here:http://haacked.com/archive/2008/11/21/combining-jquery-form-validatio...
>
> The workaround I did was simply to add a hidden input with the same name as
You're right, it doesn't work.
Maybe NW Events could help here: http://code.google.com/p/nwevents/
It's an event manager and it can fire/propagate 'fake' events.
- ricardo
On Nov 22, 7:32 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> I pretty sure it won't, because click() will fire trigger
This gives you the current value of the drop down, if the drop down
has an ID of "someId".
$("#someId").val();
On Nov 22, 3:44 pm, Westside <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to jquery and had a basic question but I couldn't find out
> how to do this in the API. How can I get the val
I was combining the ajax form plugin with the ajax validation plugin, which is
why I need to call ajaxSubmit. I wrote up the details here:
http://haacked.com/archive/2008/11/21/combining-jquery-form-validation-and-ajax-submission-with-asp.net.aspx
The workaround I did was simply to add a hidden
Hi Jeffrey, thanks.
I deleted the "float: left;", i didn't know was useless with
position:absolute;
Anyway, I noted the strange behaviour of the elements too.
I uploaded jQuery unpacked... if you still want to have a look... ;-)
BTW, there could be something wrong with animate('left','+=50%')
I watched the animation with the IE developer toolbar, and noticed a couple
of oddities.
Firstly, the CSS for the divs are set to both position:absolute and
float:left. This is not the source of the problem (I overwrite to
float:none and tried it), but float:left is unnecessary if with absolute
Hi all,
I'm working on a slideshow/carousel:
http://www.lesperimento.netsons.org/various/my_carousel/
It's works fine except than in IE7/6 (basically as usual... ;-) )
It's weird also because the "next button/arrow" works well under IE
but NOT the "prev button/arrow"; and that's the problem.
I
I'm not 100% I understood your question, but I'll give it a shot.
I have a dynamically rendered TreeView that is showing a page hierarchy,
parent and child.
There is an option to add/remove pages, as well as drag them around.
Because I need the id of the page and its parent, I render it in the
Hi,
I am new to jquery and had a basic question but I couldn't find out
how to do this in the API. How can I get the value in a drop down
menu.
Using prototype you can do $F('someId'); How can I do this in jquery?
Thanks,
-Westside
I'm using the jquery forms plugin for an ajax request and update. I
set the target option to the desired div that I want to update. The
problem that I'm running into is that it will update the div with the
contents of the entire page rather than the just the contents of that
div. I'd like to do th
Anybody can guide me on this?
On Nov 21, 12:55 am, Bhavin <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am using jquery to createtreestructure type of functionality
> dynamically. I have to add nodes by opening dialog and save it into
> the database. Once response is returned then I need to show it on th
Thank You Michael. It is working fine. Thanks.
On Nov 22, 8:44 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> The commasAnd() function I wrote takes an array argument. You're passing it
> levels.join(",") - which is a string, not an array. Don't do the .join()
> yourself - commasAnd() does that
A. JQuery always run on a client side. It has nothing to do with C# or
VB.NET. So no wonder that compiler gives you an error it simply does
not know what $(...) is.
B. You need to add to your page
$('input#<%=tbLogin.ClientId%>).focus();
The actuall ID of the tbLogin might be different ASP.NET
I pretty sure it won't, because click() will fire trigger(), which will use
data() to lookup the bound event of the selected element, and not find
anything.
Haven't tested this though.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ricardob
Hi, i recently installed another slider on a site and tried something
new by having the slider span the entire width of the window instead
of being contained in a box with no overflow. There seems to be some
weird bugs now and I was hoping one of the gurus out there could give
me a hand in identi
Hi all,
Just learned about the quicksearch plugin from a couple of posts
yesterday. Very cool. Thanks for writing and sharing it.
I have a table which is filled in periodically from some
asynchronous calls. That is, when the page initially loads, the table
is empty. As search results com
Hey,
I am trying to create something similar to an Accordion effect using
jQuery but some some modifications. I have a with a bunch of
elements inside (). When you click say a link within the
slide a down to reveal a quick description about the post. The
part I am stuck at is, how do I use the
The commasAnd() function I wrote takes an array argument. You're passing it
levels.join(",") - which is a string, not an array. Don't do the .join()
yourself - commasAnd() does that for you.
Also you can simplify your code by doing a single .append() instead of two:
$theme.append( commasAnd(leve
Hey Daniel,
Thank you for that, just what I needed.
Ryan
On Nov 22, 4:26 am, Daniel <[EMAIL PROTECTED]> wrote:
> if($('#term').val() == ""){
> alert("empty");
> //do something}else{
>
> alert($('#term').val());
> //do something
>
> }
>
> On Nov 22, 3:32 am, coughlinsmyalias <[EMAIL PROT
Hi,
I tried to use as follows:
$theme.append(commasAnd(levels.join(","))).append('');
I get an error. This is the message I got in Firebug:
first.join is not a function
commasAnd("London,Lisbon")Base.js (line 24)
(?)()()Account.js (line 86)
handle()()JQuery%2...1.2.6).js (line 2093)
(?)()()JQue
I have a code in asp.net:
Login:
I have a code in asp.net:
Login:
Hello,
i have a shop system from HHG-Multistore and i have installed a
pciture tickbox for the product images to slighting, because the
tickbox slight image function very well with jQuery.js but i have only
one problem when a user visit my shop and he select as language
english and add products t
I suggest not trying to use a regular expression at all, but just some
straight-up array manipulation. It makes it easier to handle all the special
cases involved here.
Paste this code into the multiline Firebug console (orange up arrow in the
bottom right of the Firebug panel) and hit Ctrl+Enter
Strange why the include_once doesn't work on your machine. Just to be
sure I changed the include_once to simply include (theoretically that
shouldn't make any difference in this case, but you never know).
I also fixed the IE bug (deleted a comma from the json).
Thank you Rik, I just found it, it works well!
On Nov 22, 11:29 am, "Rik Lomas" <[EMAIL PROTECTED]> wrote:
> I believe the data is stored in the jQuery object itself, under
> jQuery.cache, so it would persist for just that page load, if you want
> to store data in a cookie you can use the jQuery
1. use the ID attribute, DIVs don't have a "name" attribute
2. you can do that with CSS only as below:
#test:hover { border:2px solid blue }
something
an IE safe version:
#test:hover div { border:2px solid blue }
something
with jQuery:
$('#test').hover(
function(){ $(this).css('border','2px so
All that inline styling and javascript just makes it all harder to
figure out...
Why are you splitting the hash if it's exactly equal to the href? And
what do you mean by "activate the class"? Add it to the element?
Theretically this should be enough:
$(document).ready(function(){
var hash =
Here is the scenario I am trying to deal with currently:
I have a link that looks like:
Some Link
All the url links in this site look like this...onclick overrides.
What I need to do is ensure that when a user clicks back, the actual
prior jQuery function is called, and not the entire page.
I
I'm not very good with regexes but this should do, just make sure you
always have a space after the comma:
levels.join(',').replace(/(\,)(.[^,]*)$/,' and$2')
I'm sure someone else can come up with a much more elegant expression!
- ricardo
On Nov 22, 3:10 pm, shapper <[EMAIL PROTECTED]> wrote:
Hey,
I got this setup going on where the user can add multiple autocomplete
boxes onto the page. I got a problem though, I need to return the ID
of the selected user so I can use it with the PHP backend, but when a
new row is made, all the ID values are changed to the latest
autocomplete field.
take a stand and stop supporting ie6.
On Nov 22, 11:37 am, Bernard <[EMAIL PROTECTED]> wrote:
> Hi all,
> the "First Option" demo doesn't work on IE6.
>
> It never selects the first option, and it displays a Javascript error
> message :
> "Impossible to define the selected property. Index not
I am new to using jquery and plug-ins.
I am receiving a few different errors in IE 7.
jQuery is not defined and I think a problem with the SuperFish drop-
down.
The web address is hickorygymnastics.com
Thank you in advance for your help,
Chad
Hello,
I have the following code:
$levels = $('input[name="Levels"]:checked + label');
levels = $levels.map(function() { return $(this).text(); }).get();
$theme.append(levels.join(", ")).append('');
How can I replace the last comma in levels by " and "?
I tried:
levels.join(", ").replace(/, $/
Thanks Sia,
Do you have any recommendation on how to handle audio with
javascript? Let's say I also want to play an audio/mp3 file along
with the slideshow ...
--
Milan
On Nov 21, 8:50 pm, "Sai Krishna" <[EMAIL PROTECTED]> wrote:
> I found this through stumble. Thanks to Jquery. It reduces fla
I believe the data is stored in the jQuery object itself, under
jQuery.cache, so it would persist for just that page load, if you want
to store data in a cookie you can use the jQuery cookie plugin:
http://plugins.jquery.com/project/cookie
Rik
2008/11/22 donb <[EMAIL PROTECTED]>:
>
> What does
Please look at http://realferias.com/pager.asp . When the table is in
a file that is loaded, the tablesorter and the pager fails. i?m using
the $("table").trigger("update"); but nothing.
On Nov 22, 11:03 am, Balazs Endresz <[EMAIL PROTECTED]> wrote:
> You triggered the update before the data lo
What does .data() store, how long does it persist and where in the DOM
does it get stored? The doc page makes no mention beyond it stores
and retrieves. Looking at jquery.js sheds no light on it (for me)
either. Doesn't appear to be in a cookie.
On Nov 22, 6:58 am, "Rik Lomas" <[EMAIL PROTECTE
Thanks! Unfortunately I still work in a jQuery-less environment, but
that's changing :)
cheers,
- ricardo
On Nov 22, 2:14 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> One very minor note: you don't need to do this:
>
> var elm = e.target || e.srcElement;
>
> this is fine:
>
> v
Can't you just $('tbody td:eq(x)').click() ? The event should
propagate as normal and reach the tbody. I guess.
On Nov 22, 1:11 am, Leeoniya <[EMAIL PROTECTED]> wrote:
> During event delegation, handlers are registered higher in the DOM
> tree and then filtered when the event is triggered. This i
The problem is if you hover the upper part of the image, you move it
away from under the cursor, firing the mouseleave, and during the
animation it goes back under the cursor firing mouseenter. Make sure
the image is still under the hovered position during all effects.
- ricardo
On Nov 21, 8:07
Answer:
This site is hosted at GoDaddy.com - NOT by my choice! The DNS is
hosted outside GoDaddy. If the A record is not pointed to GoDaddy then
GoDaddy uses something they call previewdns.com. Previewdns.com adds
stylesheets, html and js code to the end of the source code of every
page that gets
Hi!
I just started to play with jQuery and have loads to learn but I try
to get i div to highlight it's borders when i hover with the mouse
over it ( like 2px and dark blue).
But, no matter what I try, it will not highlight itself! Div should be
selected by name and not by class name.
Any help,
I have index.html#members_kihon_image10 . When I enter it in URL it
perfectly loads what I need.
What I can't do is to also make a class selected inside of a tag on
hash click?
here is html
here is the class that has to be activated on hash click (on regular
mouse click it works)
class="scro
It would be great to some feedback. I find it hard to believe I'm the
only person who has an eye, or even cares, for detail.
On Nov 20, 9:26 pm, Richard W <[EMAIL PROTECTED]> wrote:
> Why doesn't the little snippet of jQuery code on the homepage use a
> betterexample? When you run the code, it
I fear it won't help much but you can try caching some values outside
the event handler:
var mx=$(window).width(), my=$(window).height(), $k=$('#k');
Also, you set the duration in the wrong place, that should be in the
second argument:
http://docs.jquery.com/Effects/animate#paramsdurationeasingc
As the $(master).children()[0] is a Javascript object, rather than a
jQuery object, the src is referring to the attribute 'src', so in this
case, it's the file path of the image
Rik
2008/11/22 BKahuna <[EMAIL PROTECTED]>:
>
> I'm working my way through understanding the Master/Detail, AJAX
> en
You could use the $.data() function to store any data when
adding/removing classes:
http://docs.jquery.com/Internals/jQuery.data
Rik
2008/11/22 lukas <[EMAIL PROTECTED]>:
>
> I am removing&adding a class to a DIV. What is the best way to
> memorize this change for the application before it is
You triggered the update before the data loaded, you have to do that
in a function as the third argument:
$('#foo').click(function() {
$('#centro').empty();
$('#centro').hide();
$('#centro').fadeIn(3000).load('results_casa_mes.asp', {
nm_mes: $('#teste4').val(),
pess
$('#foo').click(function() {
$('#centro').empty();
$('#centro').hide();
$('#centro').fadeIn(3000).load('results_casa_mes.asp',{ nm_mes:
document.getElementById('teste4').value, pessoas:
document.getElementById('pessoas').value, tipo: document.getElementById
('tipo').value, localidade: doc
$('#foo').click(function() {
$('#centro').empty();
$('#centro').hide();
$('#centro').fadeIn(3000).load('results_casa_mes.asp',{ nm_mes:
document.getElementById('teste4').value, pessoas:
document.getElementById('pessoas').value, tipo: document.getElementById
('tipo').value, localidade: do
Hi,
I am using table sorter for sorting my table.
My table has a numeric value like 0, 1.5, etc. and it also has text
like 'No data available'.
When desc sorting, it generated 1.5, 0, and "No data~~", but when asc
order, it generated 0, "No Data~~", 1.5.
Anybody knows the reason?
If so, please sh
Hi all,
the "First Option" demo doesn't work on IE6.
It never selects the first option, and it displays a Javascript error
message :
"Impossible to define the selected property. Index not valid"
It seems the target select list is not loaded, but I don't understand
why ?
Any idea ?
Thank you,
Hi,
I am using table sorter, and I have some problems...
There are 10 rows in my table and each of them has a value such as
text, number, and a number with decimal point.
I think the table sorter decides the data type of each column based on
the first column in the first row.
So, if the value of
I'm working my way through understanding the Master/Detail, AJAX
enabled, accordion style control presented here:
http://mosesofegypt.net/post/2008/04/GridView-Grouping-Master-Detail-Drill-Down-Using-jQuery-AJAX.aspx
The following code has me confused (I've only included a couple lines
of the fu
I am using Superfish vertical in a Joomla site and while it is working
quite well as a vertical menu, the animation and the drop shadow just
don;t work.I have tried just about anything and I have used the
initialization from several examples without anything ever changing.
I modified the CSS quit
Hello,
Is it possible with this plugin to have .swf or .flv in your slides or it
supports only images?
On Sat, Nov 22, 2008 at 4:50 AM, Sai Krishna <[EMAIL PROTECTED]>wrote:
> I found this through stumble. Thanks to Jquery. It reduces flash cost
> http://www.gruppo4.com/~tobia/cross-slide.shtml<
if($('#term').val() == ""){
alert("empty");
//do something
}else{
alert($('#term').val());
//do something
}
On Nov 22, 3:32 am, coughlinsmyalias <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I have been trying to look for a simple way to validate one field, if
> its empty then do X, how would I c
my firefox display it normally.
Can you indicate which part is not displayed correctly in firefox ?
Daniel.
On Nov 22, 5:46 am, Rene Veerman <[EMAIL PROTECTED]> wrote:
> This page displays fine in IE, opera and safari.
> But not in firefox :(
>
> http://tevlar.net/mytevlar/
>
> any clues greatl
69 matches
Mail list logo