Ryura thanks for the link. I'll try it although I want to learn and
know how to deal without a plugin :)
Ricardo, this looks like it does what I want :) Let's say I want the
content (loaded via the load method) hide/show or catch some clicks
inside it. Then I have to put all the code for all
Hello,
To call web service in jqGrid you should implement datatype as
function.
To have idea haw can be done, go into the demonstartion page and look
at
New in version 3.3 - Data type as function.
Hope this helps
Best Regards
Tony
On Dec 19, 8:35 pm, FrenchiINLA mamali.sohe...@gmail.com wrote:
Any idea How I can work it out?
Dom
--
View this message in context:
http://www.nabble.com/How-refresh-a-div-with-a-link--tp21070429s27240p21124698.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
hi
i want to show/hide a loader when using load() function but
using .ajaxStart / .ajaxStop functions doesn't work. Is it right?
With this script:
$('#load')
.ajaxStart(function() { $(this).show(); })
.ajaxStop(function() { $(this).hide(); });
still looking for a solution...
ripcurlksm wrote:
I have a working version of the jQuery TableSorter but when I wrap the div
in a table, the pagination stops working. This appears to be a CSS issue
when the table is wrapped?
Here is the broken pagination, with it wrapped in a table
i
i got a weird error using the jquery.corner plugin on ie7.
I attached two image. The wrong one is how the page appears in ie7
(look at the red square on the right where the corner get), the right
one is for all the other browser..(ie6 included..!!!)
Hi,
[ I tried to post this yesterday before the other replies came in but it got
bounced; here's my initial reply which is pretty much the same answer as
those posted since: ]
Aside from turning JavaScript off, hackers won't use a web browser to attack
your site, they just send web requests
Hi,
In my application, I have some ads which are from other sites.
They gave us the Javascript to display their ads. Its taking time to
load the entire page, because of their ads.
So I am trying to load their script after loading the page.
How can i do this?
Can anyone help me.
Thanks,
Mohan
Hi
Currently my page has a iFrame (loads an external web-page) in it.
I have seen this tutorial that uses simple AJAX to replace this
iFrame.
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
(see the small DEMO, I want exactly the same with just 2 Links)
My question is - How can I
Hi,
I was wondering if someone could help me with the jqModal plugin
(http://dev.iceburg.net/jquery/jqModal/).
Basically, I want to pass some GET data when calling an AJAX link for
the modal box but am not sure how to do it.
My setup for the modal box is:
$('#jInfo').jqm({ajax:
I'm trying to build a simple news carousel, click a tab and the
corresponding div shows. My Code works in FF, Chrome, Opera and Safari
but no luck in IE 6 or 7. I think it has something to do with $,
because IE7 is saying there is an Object Expected at that char
position.
Any help is
Hi Brian!
your idea was great! Thanks! It works all very well expect one little
piece
On 11 Dez., 18:50, brian bally.z...@gmail.com wrote:
Something like this:
$(document).ready(function(){
$('div.statusimg').click(function() {
var status = this;
I'd also like to add sound to a slideshow (the above mentioned cross
slide would be great), did you manage to do this? I would suggest took
soundmanager2 (http://www.schillmania.com/projects/soundmanager2/).
Please drop a line if you manage to add sound to cross slide
On 22 Nov, 17:41, Milan
simplest way is to use it like this:
html :
a href=page/to/load/loadinfo.php?var=valfoo=bar class=jqModalLoad the
page/a
then initiate your jqmodal like this:
javascript:
$(document).ready(function(){
$(.jqm({trigger: 'a.jqModal',ajax:'@href'});
});
HTH
alexandre
On Mon, Dec 22, 2008 at
say the container that will display the loaded content, i.e, your iframe
becomes
div id=menu
a href=page/to/load.html class=ajaxLinkclick me/a
a href=page/to/load2.html class=ajaxLinkclick me 2/a
div id=ihateiframes
pthis will be replaced/p
/div
your javascript will be:
I am setting the click attribute of an anchor tag using query on the
document ready event.
Once the user has clicked on this link I am attempting to change the
click event to call another method than the one initialy setup.
Instead of replacing the old method is simply appends the new method
so
Try replacing $ with jQuery and see if you get the same error
(this will tell you if it's a conflict or something else)
but it makes no sense that $ would work on one browser but not
another, regardless, doing the above will help diagnose
On Dec 22, 3:17 am, Pete peterberna...@gmail.com
could anyone please explain how to start/stop autoscrolling of the
jcarousel by clicking on an external link on the page?
Hello!
I'm using jquery to validate a form and that I'm using this link to to
the submit:
a href=javascript:void(0); onclick=document.form.submit();
Submit /a
The problem is that this kind of submit doesn't activate the jquery
validation. How can I do to force the validation?
Thanks!! Sole
I`m using jquery validation to validate my form and I have a problem
when I want to submit my form with a link instead of using this:
input type=submit value=Submit name=Submit class=fboton .
The problem is that the submit link doesn't activate the jquery
validation of the form.
Can anybody
Also for ids, it's better to write
$('#item' + slideNum)
than
$('#carousel #item' + slideNum).
On Dec 22, 6:19 am, MorningZ morni...@gmail.com wrote:
Try replacing $ with jQuery and see if you get the same error
(this will tell you if it's a conflict or something else)
but it makes no
Hi!
I use jQuery Loader Content to auto complete the state select tag.
function loadContentKabupatenKotaDiploma(id) {
$(#contenPanKabupatenKotaDiploma).hide();
$(#contenPanKabupatenKotaDiploma).load(../dre-includes/
url_pendidikan/findKabupatenKota.php?id=+id+, '',
Hi!
I use jQuery Loader Content to auto complete the state select tag.
function loadContentKabupatenKotaDiploma(id) {
$(#contenPanKabupatenKotaDiploma).hide();
$(#contenPanKabupatenKotaDiploma).load(../dre-includes/
url_pendidikan/findKabupatenKota.php?id=+id+, '',
I am having an issue with the following jQuery code:
http://www.houseofoverlord.com/c/jeniffer/bhive/test2.html
http://www.houseofoverlord.com/c/jeniffer/bhive/test2.html
The rendering that is not occurring is when the page:
* Loads
* When clicking the main (horizontal) menu items
What is
hi,
My name is jaikumar . I am a web designer. I am just now find the your
jquery is very intersting. Easily understanding. This one how can i
use flash actionsctip file. plese send detail my mail id. Ur New
tutorial and ideas plese send my email id.
Best Regards
R.Jaikumar
There is now a new version of my Masked Input Plugin (
http://digitalbush.com/projects/masked-input-plugin/ ) for jQuery.
Version 1.2.1 moves one step closer to my bigger picture for the
plugin. I had to make a few breaking changes to do so, but I feel
that the end result is worth it. This
Not sure the best way to do this, but this might work
jQuery(function(){
var anotherFunction() {
// your thing
}
var myFunction() {
// do something
$(this).bind('click', anotherFunction);
$(this).unbind('click', myFunction);
}
$('a').bind('click', myFunction);
});
On
I hate to bump, but it's been a week and I'm really at a loss here. If
anyone could simply bounce a couple vague suggestions off me, it'd be
great.
jared, your website is supernice and promising, but i for one don't
understand anything about your problem description. i think either you're
lacking sleep or you wrote too fast :)
Can you rephrase please, for people that don't yet know your website
internals (or lack sleep themselves ) ?can you
Josh, these are very cool additions, love the New mask syntax option '?' and
the improved usability.
Thanks for your hard work!
just noticed in the demo that if i don't fill the input completely and go to
another input, it removes the entered value entirely as soon as the input
loses focus.
Try this:
$(#submit).click(function() {
$(#myForm).submit();
});
a id=submit href=#Submit/a
Jörn
On Mon, Dec 22, 2008 at 2:16 PM, sole szub...@gmail.com wrote:
Hello!
I'm using jquery to validate a form and that I'm using this link to to
the submit:
a href=javascript:void(0);
Hi,
I am trying to solve ajaxStart and ajaxStop issue from last 3 days but
can not solve...can somebody tell me what's my mistake here.
I want to show a loader image for different DOM element ids on
different ajax request. Problem is that when I am calling an ajax
request on one form submission
I second that! An option to make the plugin more tolerant, especially
in combination with other forms of validation, would be perfect. Other
changes all sounds fine. The fix for users typed over existing input
will be much appreciated.
Thanks
Jörn
On Mon, Dec 22, 2008 at 3:59 PM, Alexandre
Hi Alexandre,
Thank you for the reply. I'm not sure what you mean by enable debugging in
Firebug.
Basically, the first submenu item for specific menu item should always
default to having the current class.
Although I can tell that something is occurring using console.log to inspect
the a-link
Thank you Jörn and Alexandre for your feedback. I'm thinking that
maybe I should just provide a hook that gets called when the plugin
detects invalid input. I could just provide a default function that
blanks the input as it is today, but would let the user decide what to
do there.
Any ideas
Well, in the following example (another iteration of the same menu), the
behavior works:
http://www.houseofoverlord.com/c/jeniffer/bhive/test3.html
http://www.houseofoverlord.com/c/jeniffer/bhive/test3.html
You have to click on the about us link and then scroll down until the
header for that
Hi Gurus
I have a generated dropdown list with years and an onChange event.
Sometimes the select field has a value '(All)' as first entry. I want
to remove this entry and trigger the DOM Level 0 Event.
This would be my page:
head
script type=text/javascript src=jquery.js/script
script
ok, i got it, well, at least the problem.
now, i'm not sure about how to solve it.
1/ maybe it's a css issue.
in your stylesheet, try changing this
#aboutus .nav .navmain a.current,
#aboutus .nav .navsecondary a.current {
color: #a5ee26;
}
#aboutus .nav ul.navsecondary {
left: 130px;
I'm a relative newbie with jQuery and have read the doc about DOM
manipulation but am too dense to answer this question:
I have a series of DIVs in order by ID. I would like to insert a new
DIV into its proper place in the order...
Given the following:
div
div id=alpha/div
div id=beta/div
div
i think personally that indeed a callback onError, that is called when
the input loses focus would be great. from thereon, the user can
defines what to do. for instance, as a UI developer, i would add a
error class to the wrapping div, and add Incomplete data message
to the right of the input.
Something tells me jQuery is acting up in some way that means the class is
never applied, like an event never completes successfully. It's just very
strange it doesn't work, especially since the test3.html link code does
work, and I don't think I did anything to make the code interpret
The initiation:
$(document).ready(function(){
$(ul#sf-menu-id).superfish({
autoArrows: false,
pathClass: 'current'
}).find('ul').bgIframe();
});
Try changing your document.ready statement to this:
$(document).ready(function(){
I'm using jquery to validate a form and that I'm using this link to to
the submit:
a href=javascript:void(0); onclick=document.form.submit();
Submit /a
This will not work because you are calling the submit method for the
form, not any validation script... Also, is there any reason you are
Thanks Jörn!! It works!
But I continue with a problem because the link Submit has to validate that
only input1 of the
form is not empty. And the submit button validates that the three inputs are
no empty.
So I think that I will have two validations for the same form. How can I do
that?
I have a
Cam, I'm hiding all rows only in anticipation of showing the higher
levels of the tree that is represented by this table. Each row has a
class associated with it that indicates the level which simply has a
left-margin css value associated with it giving the appearance of
subordination in the
I have a form with 3 inputs:
form id=form1 method=post
input type=text id=input1
input type=text id=input2
input type=text id=input3
input type=submit value=Submit button name=Submit
a id=submit href=#Submit link/a
/form
First off, why do you have an submit
Is it possible to remove an ID from an element with Jquery or javascript for
that matter? I've searched and all I can find is how to remove the whole
element, I just want to remove the ID.Thanks
Mike
If the scripts are meant to be put inline and use document.write,
there is nothing you can do. Otherwise just stick them at the bottom
of the code, just before the closing /body tag.
On Dec 22, 10:03 am, mohan itmohan2...@gmail.com wrote:
Hi,
In my application, I have some ads which are from
Hi, my english is not good enough, I hope I can explain it to you!!!
I`m using this to validate:
$(document).ready(function() {
var validator = $(#form1).bind(invalid-form.validate, function() {
$(#summary).html(trtd aling='right' width='2%' class='ico'img
src='warning.gif' width='16'
I have read a similar post to this, but I think my situation is a bit
different. I have a link like this:
a href=/my-url.html rel=the-div class=modal-linkLink/a
Then in my JS I use load something like this:
$('#modal-content').load('/my-url.html #the-div');
Which loads 'the-div' into a modal
Change the value of the dropdown with .val('0001') - maybe before
removing the first option.
Or use triggerHandler but inline events won't fire that way, I guess.
On Dec 22, 4:37 pm, ggerri a...@ggerri.com wrote:
Hi Gurus
I have a generated dropdown list with years and an onChange event.
I'm still trying to get this working, has anybody tried anything like
this before?
On Dec 15, 6:16 pm, livewire9174 markmch...@gmail.com wrote:
here is the code, I need to stop the execution somewhere I guess ? I
am using ajax calls to put data into to table, so I guess I cant
attach the
Bump.
Does anyone have any ideas why the images seem to fragment?
On Dec 19, 3:24 pm, jen timeyout...@gmail.com wrote:
http://www.louriecutler.com.ws019.alentus.com/people/slider.php
What am I doing wrong, that the images slide across looking so jagged?
Thanks!
try this, it will insert gamma1 before epsilon.
$('#gamma~#epsilon').before('div id=gamma1/');
I first used after(), but that didn't work, looks like $
('#gamma~#epsilon') selects #epsilon.
On Dec 22, 10:48 am, Tbone 95dak...@gmail.com wrote:
I'm a relative newbie with jQuery and have read
http://docs.jquery.com/Attributes/removeAttr
Actually it only replaces the value with an empty string just as plain
js: element.removeAttribute()
On Dec 22, 5:49 pm, Mike Dodge dmikest...@gmail.com wrote:
Is it possible to remove an ID from an element with Jquery or javascript for
that matter?
Great! Thanks...
However, I'm more clueless than I should be...and didn't pose the
complete question...
I have the divs as shown above, how do I locate where div
id=delta/div would go?
Obviously between gamma and epsilon, but I need to search the ids for
the first (id delta). Then I can use
wow that works awesome. even able to apply it to several cycles. i saw
a posting about applying a delay to several cycles so that one starts
a couple seconds after another cycle (http://groups.google.com/group/
jquery-en/browse_thread/thread/fa74609bb63f46a/40f0bec91d0c6574?
Hi Ripple and Ricardo,
Thanx for your reactions.
@ ripple: Feel free to view the source code of the demonstration page
(see link I posted), there are some clarifying comments inside.
@ Ricardo: indeed it is quite strange that the IE webdeveloper toolbar
says 'display=none' and nevertheless the
Hi Everyone -
The jQuery dev team just got jQuery 1.3 Beta 1 out the door. Help us
test this release and make sure it goes nice and smoothly!
http://blog.jquery.com/2008/12/22/help-test-jquery-13-beta-1/
Thanks in advance.
--John
Is this what you are trying to do?
$(document).ready(function(){
// This is the border code
$(img, li.img-corner).hover(
function(){
$(this).next(li.event).css({borderBottom: 1px solid
#00});
},
function(){
I wrote a simple plug-in that will insert elements in alphabetical
order (by id) for you:
http://ff6600.org/j/jquery.insertInOrder.js
Use it like:
div id=group
div id=alpha/div
div id=beta/div
div id=gamma/div
div id=epsilon/div
/div
$('div id=delta/').insertInOrder('#group');
feel free to
Don't know if that's the best phrasing for the subject,
but what I'm trying to do is develop some code that
will work for all for inputs of type 'text', instead
of hard-coding the id values.
The original code is this:
$('input#street_number').blur(function() {
if
I have a tablesorter with a column with positive and negative numbers, and
I`m using the tablesorter`s parser digit but it doesn`t order fine, is
there any other parser that works ok?
Thanks!! sole
ts.addParser({
id: digit,
is: function(s,table) {
var c = table.config;
return
//locate the div before which you want to insert and then insert,
assuming they are ordered alphabetically
$('div[id]').each(function(){
if ($(this).attr('id') 'delta')
$(this).before('div id=delta/');
My expectation was an explanation, but many thanks for going the extra
mile, Ricardo
On Dec 22, 11:04 am, Ricardo Tomasi ricardob...@gmail.com wrote:
I wrote a simple plug-in that will insert elements in alphabetical
order (by id) for you:http://ff6600.org/j/jquery.insertInOrder.js
Use
Just some advice: why mix - and _ all up? it makes it easier if
they were the same
for instance
input type=text id=street_number /
img id=street_number_error src=error.png /
input type=text id=street_name /
img id=street_name_error src=error.png /
$(input[id^='street_']).each(function() {
Hello, here I provide more of my code so we you see exactly what I'm trying
to accomplish...
code:
$(document).ready(function() {
var validator = $(#form1).bind(invalid-form.validate, function() {
$(#summary).html(trtd aling='right' width='2%' class='ico'img
src='warning.gif' width='16'
Thanks for the reply and code...
As far as the _ vs -, I've been trying to standardize
on using _ for input names (which is necessary for the database)
and - for the id's and classes, but now, working with jQuery like
this, it is creating a problem.
Rick
-Original Message-
From:
Thanks to you, too, ksunBetween you and Ricardo, I think I
understand this now!
On Dec 22, 11:42 am, ksun kavi.sunda...@gmail.com wrote:
//locate the div before which you want to insert and then insert,
assuming they are ordered alphabetically
$('div[id]').each(function(){
I remember reading somewhere and hear at the conference about how you can add
some to the event string in the bind method like:
$(this).bind('click:my_plugin', function(){});
And then if you wanted to just remove that binding event, while leaving all
the other events still there, you could do:
I thought you wanted to insert the new element in order according to the
*Greek* alphabet. That will take a bit of extra work.
-Mike
From: Tbone
Thanks to you, too, ksunBetween you and Ricardo, I think
I understand this now!
On Dec 22, 11:42 am, ksun kavi.sunda...@gmail.com wrote:
Straight from the Docs
http://docs.jquery.com/Events/unbind#typefn
On Dec 22, 1:59 pm, Eridius bas...@gmail.com wrote:
I remember reading somewhere and hear at the conference about how you can add
some to the event string in the bind method like:
$(this).bind('click:my_plugin',
Rick - one shortcut you can do in your selector is:
$('input:text').each(function...
That might get you a better response from the DOM. I think the problem you
are seeing might be because of your single quotes around text:
$('input[type=text]') not $(inp...@type='text']).
-- Josh
I see in your example code that you're still using a hard-coded name
for the input. I'd like it completely generalized for all variables.
I'm working towards creating code for categories of input types: text,
radio, checkbox, and textarea, etc.
I modified your example, and all seems to be
Try this change
$(#submit).attr('disabled', (val == ) ? disabled : null);
If that doesn't work, then perhaps:
if (val == ) {
$(# + this.id + _error).fadeIn(500);
$(#submit).attr(disabled, disabled);
}
else {
$(# + this.id + _error).fadeOut(500);
will sure do right now, as i'm about to release another
experiment-in-webdesign, end of january, and will need the best
javascript library to support it. Thanks a lot !
On Mon, Dec 22, 2008 at 6:49 PM, John Resig jere...@gmail.com wrote:
Hi Everyone -
The jQuery dev team just got jQuery 1.3
Jörn Zaefferer ha scritto:
Fixed! Thanks for reporting.
Thanks to you for sharing your great work!
--
gianiaz.net - web solutions
via angelo custode, 10 - 23100 sondrio (so) - italy
+39 347 7196482
Could you explain that construct? I'm no JS expert, and I haven't
seen it before.
Thanks.
If you want to do it in JavaScript, you don't need jQuery, regular
expressions, or indexOf. window.location (or just location) has several
properties that give you different pieces of the URL.
Take a look at this demo: http://jquery.bassistance.de/validate/demo/login/
The forgot password link should be quite close to what you're trying to do.
Jörn
On Mon, Dec 22, 2008 at 7:47 PM, Soledad Zubiri szub...@gmail.com wrote:
Hello, here I provide more of my code so we you see exactly what
Sure, it's just a combination of some other JavaScript features that may
look more familiar if we take them one by one:
// Use an object literal to create an object
// with two properties. Each property has
// a name and a value.
var images = {
'/services':
Great!!!
On 22 dez, 18:03, Alexandre Plennevaux aplennev...@gmail.com
wrote:
will sure do right now, as i'm about to release another
experiment-in-webdesign, end of january, and will need the best
javascript library to support it. Thanks a lot !
On Mon, Dec 22, 2008 at 6:49 PM, John
Hi,
I'm trying to position a menu div over a cycle slideshow.
It works fine on Safari/Firefox but in IE6/IE7 the menu goes under the cycle
slideshow upper slide, till the effect -fade- starts to be applied to the
next slide.
Is there a means to force the menu div to appear always on top of
div id=slide-show
ul id=slide-images
lia href=accordion1.jpg class=thickbox rel=gallery-
plants
img src=accordion1.jpg alt=One title=One //a/li
lia href=accordion2.jpg class=thickbox rel=gallery-
plants
img src=accordion2.jpg alt=Two title=Two //a/li
and if you have _really_ a lot of elements...
instead of a listener on each, just use one -
var $hl = $('.headline');
$hl.click(function(e) {
$('.article-text').eq( $hl.index(e.target) ).fadeIn();
});
On Dec 21, 5:57 am, Kean shenan...@gmail.com wrote:
Some performance improvement,
For instance if someone chooses 5/5/09 in datepicker I would like them
to be linked to one html page. In contrast, if someone chooses 4/2/09
I would like them linked to another html page. Each day will have it's
own individual html page. Is this possible in datepicker?
I'm using filters to find if an li's text matches a certain value,
and then changing the value if it does. This works fine. However, if
I then use my selectors to check for the new value, jquery does not
seem to pick it up, making me wonder if perhaps the selectors only
work for values coded
wow that works awesome. even able to apply it to several cycles. i saw
a posting about applying a delay to several cycles so that one starts
a couple seconds after another cycle (http://groups.google.com/group/
jquery-en/browse_thread/thread/fa74609bb63f46a/40f0bec91d0c6574?
I'm trying to position a menu div over a cycle slideshow.
It works fine on Safari/Firefox but in IE6/IE7 the menu goes under the cycle
slideshow upper slide, till the effect -fade- starts to be applied to the
next slide.
Is there a means to force the menu div to appear always on top of the
I have a page that when loaded, it gets a javascript error. It occurs
in jquery-1.2.6.js on line 662 on this line:
var id = elem[ expando ];
It says elem is undefined. This occurs in IE and FF. This only
occurs on this specific page. It is an aspx page. Thanks
Untested, but I think this does it:
function init(){
LastPic = $('#slide-images li').slice(1).hide().length;
}
In jQuery there is probably a better way to do the rest of the code
than using a global variable for LastPic, but it depends on what the
rest of the code looks like.
Sorry, but no one would be able to tell what might be wrong from that
description.
In most cases, a bug like this is an error in how you're calling a jQuery
function. If you use Firebug and have it break on all errors, you can look
at the stack trace and see what call you made that triggered the
Care to share some code? Have you done your debugging to determine what line
of your code is causing the error from jQuery? Have you posted this bug to
the jquery bug mailing list?
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf
I'm using filters to find if an li's text matches a certain value,
and then changing the value if it does. This works fine. However, if
I then use my selectors to check for the new value, jquery does not
seem to pick it up, making me wonder if perhaps the selectors only
work for values
Hey guys,
i'm having a hard time with jquery right now.
Imagine the following simple table:
CODE:
table border='1' id='list_tracks_table'
colgroup
col width='40%' /
col width='20%' /
col width='20%' /
col width='20%'
Hello,
I have a a drop-down box (select and option) that is empty until
clicked, at which time $.getJSON() adds a number of option tags. The
problem is how Firefox and IE behave after the data is inserted into
the down-down. FF keeps the drop-down open so the user can
immediately view all the
var rows = jQuery(tbody tr);
rows.each(function(){
var row = jQuery(this)
row.click(function(event){
alert(row.children(td.hidden_url_field_for_track_list).text());
});
});
Haven't tested but you could try something like this maybe.
On Tue, Dec 23, 2008 at 11:40 AM, j0llyr0g3r
var rows = jQuery(tbody tr);
rows.each(function(){
var row = jQuery(this);
row.click(function(event){
alert(row.children(td.hidden_url_field_for_track_list).text());
});
});
Sorry I missed a semicolon..
On Tue, Dec 23, 2008 at 12:21 PM, Cam Spiers camspi...@gmail.com wrote:
var rows =
I would guess you've passed a parameter to a function, but done so
incorrectly. For example writing xyz(bar) when you should have
written .xyz( {foo: bar} )
On Dec 22, 5:25 pm, Andy Matthews li...@commadelimited.com wrote:
Care to share some code? Have you done your debugging to determine
Ok...after a lot of experimentation, I've got a solution
that's working to the point that I've attempted to implement it.
Here's the code:
$(document).ready(function() {
$('input:text.required').each(function() {
$(this).blur(function() {
dbzz, IMO, your code still add a listener to each of the .headline
var txt = $('.article-text');
var $hl = $('.headline');
$hl.click(function(e) {
$(txt[$hl.index(e.target)]).fadeIn();
});
I highly doubt that this code will run faster than the one using each.
On Dec 22, 9:20 am, dbzz
1 - 100 of 129 matches
Mail list logo