You're doing it wrong, and you don't need to use live.
I tested this, and it works:
var $results = $('#ajaxSearchResults');
$('span/span').text('(close)').appendTo($results).click(function(){
$(this).parent().hide('slow');
});
First we cache the #ajaxSearchResults into a var. Then we create
Add:
return false;
below the $(p).show(slow);
Like this:
$(button).click(function() {
$(p).show(slow);
return false;
});
On Nov 20, 7:03 pm, Chinna varanasikrishnaphaneen...@gmail.com
wrote:
Hi guys,
I have downloaded JQuery .
%@ Page Language=C# AutoEventWireup=true
Here you go:
$(document).click(function(){
alert('clicked outside classname');
});
$('.classname').click(function(e){
e.stopPropagation();
});
First you bind a click event to the document with the action you want.
Then you bind the classname to stop it from propagate up to the
Hello.
jQuery getScript does not work under IE6
I've try:
script language=javascript
$(document).ready(function(){
$.getScript(***LINK***);
});
/script
***LINK*** returns
alert(1);
But no alerts, no errors in IE6
But under FireFox it works.
That is wrong???
Example
Hi, sorry if I am posting in the wrong group?
I am having a simple nested table, looks like this
table id=mytable
tbody
tr
tdtest/td
tdtabletrtdNew test/td/tr/table/td
/tr
/tbody
/table
So my problem is that I cant get the last TR within the first table?
var Obj = $(table#list tbodytr:last);
hi there i'm working with the remote method of validator plug-in to
have in response validity and a message... and i have it working!
the plugin show the remote msg ok but on lost focus i get:
Warning: No message defined for DE1695
the remote script always return {valid:tue,msg:somemsg}
test
I have a set of combo boxes on a HTML form which act as a Date control:
div id=datecheck
select id=datecheck_y name=datecheck_y
option value=20092009/option
option value=20082008/option
option value=/option
/select
select id=datecheck_m name=datecheck_m
Hello, I need to use jQuery lib in a script that will be included in
my clients sites.
My script will be included last in the body of a html page, and
jQuery lib will be included dynamically from my script.
Can anyone tell me is this going to have conflict with older jQuery
libraries and with
This is what I've got so far: http://zek.nma.sg/ (I'm implementing
jQuery in Wordpress)
This is what I'm trying to get: http://tinypic.com/r/mtqfmc/6
The following is an example of an implementation of Galleria and
jCarousel, but I couldn't get their tutorial to work for me:
For anyone else out there with a similar requirement, I have
discovered/developed a simple solution to this which at least works
with IE, Firefox and Safari and may work with other browsers that I
have not yet tested...
function XmlToString(xData)
{
if (xData.xml) {
return xData.xml;
I have a set of combo boxes on a HTML form which act as a Date
control:
div id=datecheck
select id=datecheck_y name=datecheck_y
option value=20092009/option
option value=20082008/option
option value=/option
/select
select id=datecheck_m name=datecheck_m
option
I have the following set up:
When you click edit and the #manage_award toggles out and the
#manage_award_edit toggles in giving and overlapping effect. On every
browser it looks fine but in FF if I have the browser open for a while the
memory FF uses gets up to 800k or more and the toggle looks
Hi,
I have a problem with some of my jquery code.. i will make this short
an straight ahead.
What i want is:
1. page that will print a loader bar to begin with.
2. make a ajax call to some information from an external source.
3. print the information from external source when i get the
Hi All
I have used the multiple file upload plugin http://www.uploadify.com
It is not working in IE7. Could you please suggest some ways to fix this
IE7.
$('#testID').uploadify({
'uploader': 'Js/jquery.uploadify-v2.1.0/uploadify.swf',
'folder':
You're welcome to make any changes to jQuery that you want. You can use
jQuery under the MIT license, which puts very few (almost no) restrictions
on what you can do with it. Basically the only two restrictions are that you
have to keep the copyright notice in the jQuery source code, and you can't
Hello, I need to use jQuery lib in a script that will be included in my
clients sites.
My script will be included last in the body of a html page, and jQuery lib
will be included dynamically from my script.
Can anyone tell me is this going to have conflict with older jQuery
libraries and with
So you are saying you want the entire last row of the outer table, not the
last row of the inner table, is that right? IOW, what you want to get back
is this row:
trtdtest/tdtdtabletbodytrtdNew
test/td/tr/tbody/table/td/tr
If that's right, you're just missing a '' in your selector. Change it
Hello,
I'm using jquery script to animate stock ticker. Everyting works OK,
except in IE8. can anyone see what is the problem?
Here is the site: http://www.manager.ba/naslovnica/
Thank you.
hello all
I have a problem with wraping a text or html with a tag, but the text
should be placed in an attribute .
for example :
i have a table like this
table
trtdpabc/p/td
tdpdef/p/td
tdpghe/p/td/tr /table
i want to change each of the TDs to Textbox with
Basically what I am trying to do here is fade in all of the list items
of a given unordered list one at a time. Here's what I have so far,
but once I add the setTimeout (so that everything doesn't fade in
instantly) it goes completely fubar. Any suggestions on how I should
'wait' until the item is
Nevermind, I just did it with a recursive function:
function fadeListItem($i) {
$('.masonryWrap li:eq('+$i+')').fadeIn(1000, function(){
$i++;
if( $i $('.masonryWrap li').length ){
} else {
fadeListItem($i);
OK, I have solved it.
It appears that I needed to set display:inline-block; on span elements in
scrolling div.
Not sure why but it works now.
On Fri, Nov 20, 2009 at 8:29 AM, Manic jadranko.drag...@gmail.com wrote:
Hello,
I'm using jquery script to animate stock ticker. Everyting works OK,
Hi there! I'm a little stuck and I was hoping someone could help me.
I've been trying to add captions to another div separate from the
slideshow and have them cycle with the slideshow and when the user
uses the pager. The one catch is I was hoping to use the images in the
slideshow's alt
Try using the 'after' callback:
$(function() {
$('div#slides').cycle({
timeout: 7000,
pause: 1,
pager: 'div#buttons',
pagerAnchorBuilder: function(idx) {
return 'a id=pager-' + idx + ' href=#' + idx + '/
a';
},
after: function(curr,
Dear all,
I'm new in jquery. I want to ask about, how to validate value on auto complete
plug in. The value that entered by user, must match with the value in the
autocomplete array. How to do that in jquery? May someone give a solution. Thx
Sent from my BlackBerry®
powered by Sinyal Kuat
I'll give that try and see how it works - thanks in advance for the
reply. I really appreciate it.
On Nov 21, 7:01 pm, Mike Alsup mal...@gmail.com wrote:
Try using the 'after' callback:
$(function() {
$('div#slides').cycle({
timeout: 7000,
pause: 1,
pager:
I tried it and it didn't work Mike. I did a console.log of the alt
variable afterwards and it was tossing undefined. I think this is
because I have all of the slides wrapped in divs. I'm not sure how to
remedy that problem. Is there a way of selecting the img's alt
attribute using the code you
You're on the right track!!! I added an alt attribute to the
first .featured-image and it displayed exactly where I wanted it!!!
The question is now how to select the img tag nested in it (in the
interest of writing valid xhtml).
On Nov 21, 11:06 pm, Wroathe reallyto...@gmail.com wrote:
I tried
On Sun, Nov 22, 2009 at 11:21 AM, Enoch enochelli...@gmail.com wrote:
script type=text/javascript
$().ready(function() {
// validate signup form on keyup and submit
$(#regform).validate({
rules: {
fname: {
required:
29 matches
Mail list logo