Any good for you ... ?
$(document).ready(function(){
var hasFocus = $(':text:first').focus();
$(document).bind('click', function(event){
var ev = $(event.target);
if(ev != hasFocus){
if (ev.is(':text')){
hasFocus = ev;
}
hasFocus.focus();
}
});
});
That is why I have posted a question here...
On Jun 3, 9:19 pm, Sid [EMAIL PROTECTED] wrote:
Nope, nothing happening on dragging anything
On Jun 3, 5:35 pm, Arun Kumar [EMAIL PROTECTED] wrote:
Not that,
Drag that gadget
DnD is not working...
View source...
On Jun 3, 5:24
I want to simply replace the word comment wherever it is in a
particular
table.
Here's my jQuery attempt:
$(document).ready(function(){
$(td:contains('comment')).text(vote);
});
What this does though is replace all of the text in every cell that
has the
word comment in it with the word vote.
I have recently ripped the nav down to attempt to get it to work for
my own site. applying only the nav into a raw page, I still can't
seem to get the animation to work in either FF or IE7. I've scoured
this message group, but nothing seems to be working. Is there
anything you can see in it
Hi,
Is it possible for Validate to stop on the first error it encounters?
I would like to display one error at a time, rather than all errors
found.
Thanks,
Michael
This is the error that comes when i put text in the field password.
jQuery.validator.methods[method] has no properties
http://localhost:9090/youminiweb/js/jquery-validate/jquery.validate.js
Line 467
On 4 Giu, 17:19, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
What is thestrangeerroryou see? Please
Can jQuery compare 2 ul and remove li's that are duplicates?
Essentially I use jQuery to populate an unordered list with new
values, and I
have an existing unordered list already on the screen.
I'd like to remove any elements in the newly loaded list that already
exist in
the current list.
I
Already asked...
But got no useful response.
On Jun 4, 6:42 am, Richard D. Worth [EMAIL PROTECTED] wrote:
Please ask on the jQuery UI list:
http://groups.google.com/group/jquery-ui
- Richard
On Tue, Jun 3, 2008 at 3:54 AM, Arun Kumar [EMAIL PROTECTED]
wrote:
Can I use sortables
This is the error that comes when i put text in the field password:
jQuery.validator.methods[method] has no properties
http://localhost:9090/youminiweb/js/jquery-validate/jquery.validate.js
Line 467
On 4 Giu, 17:19, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
What is thestrangeerroryou see? Please
dear one,
I'm from China,i have a question about jQuery.
When i add some elements to page,example add some li to ul,the new li
don't have event that initiatory li had.
I means that how to reflesh the page let all li has same event when
dom changed?
sorry,My poor English skills!
Chinese:
I am using this technique for the onload problem specified here:
http://blog.outofhanwell.com/2006/06/08/the-windowonload-problem-revisited/
I have an script element defined like this:
script defer src=/js/ie_onload.js/script
The script file simply calls an method called init.
In the init
Hello.
I'm trying to make inputs readonly on click event. At the moment I'm
using the inelegant onClick=markReadOnly('name')
Does anyone know how I can implement this with in jQuery?
I think that position:fixed is not supported on IE6.
Klaus Hartl escribió:
On 5 Jun., 06:22, Karl Swedberg [EMAIL PROTECTED] wrote:
or this ...
$(document).ready(function() {
stickyFooter();
$(window).resize(stickyFooter);
});
How about:
$(function() {
Something along the lines of this:
div class=hotel
pHotel 1br /
Hotel 1 Addressbr /
Hotel 1 Phone br /
Distance: span class=distance5/spanmi br /
Room Rate: $span class=rate125.50/span
/p
/div
div class=hotel
pHotel 2br /
Hotel 2 Addressbr /
Hotel 2 Phone br /
Distance: span
Hi Richard, thanks a lot for that. I've only just started using
Jquery. I've just copied
http://ui.jquery.com/bugs/browser/trunk/ui/tests/jquery.simulate.js
and added it to my project, is that what i was supposed to do?? It
works anyway.
Cheers
Mike
On Jun 4, 1:59 pm, Richard D. Worth [EMAIL
Firebug shows errors - the first one is the problem. It seems that at
some point the ampersands in the Superfish code have been encoded as
$amp; which is breaking the script.
Please search for this:amp;amp;
and change it to this:
Then it will work perfectly.
Joel Birch.
Hi Ruud,
This is interesting. I do see that behaviour in Mac Firefox although
when you mouseout from a submenu and then back onto it before it
disappears the status bar then does show the correct link. In Safari
(also Mac) the problem you does not exist at all. I haven't checked
what IE does
Glad it works for you. If you have any issues or ideas for improvements,
just let us know.
- Richard
On Thu, Jun 5, 2008 at 4:50 AM, KayakingJoe [EMAIL PROTECTED] wrote:
Hi Richard, thanks a lot for that. I've only just started using
Jquery. I've just copied
I confirm this bug with ie 7 !
2008/6/5 Stamen Georgiev [EMAIL PROTECTED]:
Hi there.
I'm using jqModal and the IE ActiveX started bleeding when I switched
to the latest jQuery (1.2.6)
It was ok with 1.2.3.
Any ideas or confirmations?
This is my first post here, so hello to all subscribers!
I have googled a bit for my problem, but didn't find exact answer to
my problem, or I do not understand event propagation enough. The
situation looks like this: I have a nested list:
ul class=someclass
li1 Position... a
I have some server-side code that responds to certain ajax requests by
returning the html of new rows to insert into an existing table. This
works really well, but I've been thinking about ways to handle
errors on the server side. By errors I mean both actual bugs, and
business rule violations
Hi can anyone help?
I've just downloaded the jQuery Collapsor demo (http://
plugins.jquery.com/project/collapsor) for use on a navigation system.
I'm still a newbie with js and was wondering if anyone can point me in
the right direction of how to add/remove a class to the trigger
element (in
Solved. Thanks.
Naveen
On Jun 4, 11:54 pm, Naveen [EMAIL PROTECTED] wrote:
Hi,
I'm trying to make a picture gallery using jCarousel
(http://sorgalla.com/projects/jcarousel/) and other jQuery features,
powered by Perl/CGI and XML at the backend.
The initial version of the gallery
I have a portfolio page with multiple slideshows (there are four tabs
and each tab displays a different slideshow). All is well in Mozilla,
but after a couple of clicks to change the tabs in IE, it chrashes. I
have tried placing the code in the body of HTML, but still get the
same crash!! Would
Of course, I meant $('ul li a) instead of $('.someclass ul li a')
I have a portfolio page with multiple slideshows (there are four tabs
and each tab displays a different slideshow). All is well in Mozilla,
but after a couple of clicks to change the tabs in IE, it chrashes. I
have tried placing the code in the body of HTML, but still get the
same crash!! Would
Hello,
I am using tooltip 1.2. There is one strange behaviour. And since now
i didn't find out how to avoid.
Moving over a input-field the tooltip is shown as wanted. But when the
mouse is dragged accidently into the input field the tooltip remains
highlighted and follows the mouse over the
PS: The thing is with fixed positioning you get a *much better*
experience in browsers that support it, e.g. smoother, no jumping
elements/flickering. Using a resize handler is just clumsy.
IE6 can be hacked away to support it, see link above.
--Klaus
On 5 Jun., 08:52, Javier Martínez [EMAIL
http://www.howtocreate.co.uk/fixedPosition.html
On 5 Jun., 08:52, Javier Martínez [EMAIL PROTECTED] wrote:
I think that position:fixed is not supported on IE6.
Klaus Hartl escribió:
On 5 Jun., 06:22, Karl Swedberg [EMAIL PROTECTED] wrote:
or this ...
$(document).ready(function() {
I am getting JSON response(string format) from the URL to which I am
sending request. I want to use the methods formatResult to format the
result.
$(#month).autocomplete(Search.php, {
minChars: 0,
max: 12,
autoFill: true,
mustMatch: true,
matchContains: false,
How can I set an overall min and max date having 2 dates fields as
date range?
That is, not only the fields should restrict each other regarding the
selected dates but also BOTH FIELDS respect a min and max date.
Any ideas?
Thanks
I'm trying to create a custom validation rule which works based on a
pair of form fields (specifically, two select elements representing
month and year, which must be a date in the future). I couldn't see
any examples of this pattern in use, and wanted to ask if it was even
possible? How might
Hi,
I know the list, there is a big problem with it, It is nice looking
but not filtered at all.
Even the featured sites. some of them hardly uses jQuery.
I was hoping that we could create a list where, we have the super
featured sites, where you can see that
this is how you use jQuery
Hi,
Not quite sure if I understood the problem - but if you mean that you
only want the certain event triggered when you click on 1st-level a
tags (same level as 1 Position), what you can do is use a next
selector similar to:
$(ul.someclass ul + li a).click({});
This way, the .click() event
All of a sudden, xmlhttprequests don't work no more in IE7. FF
perfect, no problems.
Here the simple code:
!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
titlesome title/title
I actually found that in this case I'm using jqModal, it stops the click of
the a. however, in order to make it go to where the link would be after
they have done their login through jqModal, I have a form on the page that
I'm submitting. Not the most elegant, but it gets the job done.
On
Thank you!
You are really a good guy!
On 6月3日, 上午1时15分, Karl Swedberg [EMAIL PROTECTED] wrote:
Hi there,
I'm just getting back to this list after being away for a few days, so
forgive me if this has been answered already (though I didn't see a
reply yet).
I think you will find the
Hi there,
You can probably just set the disabled attribute to true.
$('someElement').click(function() {
$('someInput').attr('disabled', true);
});
Hope that helps.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jun 5, 2008, at 6:32 AM, [EMAIL
I found some problems in jquery blockui plugin, I don't know whether
it is my fault or the plugin's.
You see the code below:
html
script type=text/javascript src=js/jquery-nightly.js/script
script type=text/javascript src=js/jquery.blockUI.js/script
script type=text/javascript
function
Hello, for those wondering, if you want to know whenever you click
outside a div and byt outside i mean everywhere but the div like you
want to display an error message :
html
head
titletest error click outside/title
style type=text/css
p.error {
position:absolute;
top:40%;
left:30%;
width:40%;
I found some problems in jquery blockui plugin, I don't know whether
it is my fault or the plugin's.
You see the code below:
html
script type=text/javascript src=js/jquery-nightly.js/script
script type=text/javascript src=js/jquery.blockUI.js/script
script type=text/javascript
I have a portfolio page with multiple slideshows (there are four tabs
and each tab displays a different slideshow). All is well in Mozilla,
but after a couple of clicks to change the tabs in IE, it chrashes. I
have tried placing the code in the body of HTML, but still get the
same crash!!
I have a suggestion and a question. The question is:
Any plans for supporting the new swfobject 2.0 anytime soon?
swfobject v2 support is now available:
http://malsup.com/jquery/media/jquery.media.js?v.81
The following demo pages show the same markup using swfobject v1.5 and
swfobject v2:
I'm unable to reproduce the issue you describe - could you try to
describe the steps necessary in a different way?
Thanks
Jörn
On Thu, Jun 5, 2008 at 3:01 PM, casavecchio [EMAIL PROTECTED] wrote:
Hello,
I am using tooltip 1.2. There is one strange behaviour. And since now
i didn't find out
Arun Kumar ha scritto:
Where can I convert to a JSON object using eval and use it as a local
JSON data?
I've solved this way:
In the server side I create a string separated by \n chars that
contains N json objects :
foreach($list as $c) {
$record = array();
$record['id']
Hi Emmanuel,
Sorry for the delay in replying.
If you include the hoverIntent plugin, then you can easily have the
tooltip display after a small, configurable delay
About the tooltip hiding on input focus, I wasn't aware that the
tooltip got the focus when it was shown. Also, the default
I've added a short explanation and an example here:
http://docs.jquery.com/Plugins/Validation#Validating_multiple_fields_with_one_method
Currently the example has an issue where the submitHandler is called
too early/often. I'll look into it.
Jörn
On Thu, Jun 5, 2008 at 4:04 PM, kapowaz [EMAIL
Greetings,
I'm working on a reporting system for a financial institution, so my
first thought was to use tablesorter. However, one of the columns
consist of img tags that show stars, and the column needs to be sorted
by the number of 'stars' being shown. Since I doubt there's a custom
'stars'
Hi All -
I've implemented an online tool that takes PSD files from Photoshop or
Gimp and generates CSS/XHTML web pages automatically. It takes hints
from the layer names in the PSD file and generates jQuery code to make
all sorts of dynamic things happen (image roll overs, drop down and
fly out
You need to remove this line:
$('#waitting').show();
You don't need this line either:
$('#waitting').hide();
Please see this
http://groups.google.com/group/jquery-en/browse_thread/thread/219d28208e58b85b/d8187cf1bd5104ae?lnk=gstq=jqModal#d8187cf1bd5104ae
On Jun 5, 3:17 pm, Matthieu BARBE [EMAIL PROTECTED] wrote:
I confirm this bug with ie 7 !
2008/6/5 Stamen Georgiev [EMAIL PROTECTED]:
Hi
Hallo Jörn,
mmh, strange, right now i cannot reproduce it myself. I will check it
tomorrow again. When i recognize that effect again, i will sent a
link. But it wasn't imagination. Thanks for the fast reply.
Boris
On 5 Jun., 17:50, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
I'm unable to
[Apologies if this shows up twice; didn't see it after 5 hours+, sending again]
I have some server-side code that responds to certain ajax requests by
returning the html of new rows to insert into an existing table. This
works really well, but I've been thinking about ways to handle
errors on
Doh, thanks. I was looking for properties, not methods. Foo on me.
On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd [EMAIL PROTECTED] wrote:
From a quick Google search I found
(http://www.hunlock.com/blogs/AJAX_for_n00bs):
# AJAX.getAllResponseHeaders() -- returns as a string all current
headers
That's THE solution. It's (nearly) the same as using
e.stopPropagation().
--
Ariel Flesler
http://flesler.blogspot.com
On 5 jun, 09:24, Argasek [EMAIL PROTECTED] wrote:
This is my first post here, so hello to all subscribers!
I have googled a bit for my problem, but didn't find exact answer
Wizzud, thank you for your help.
Your code worked perfectly if the user had entered the text box by
*clicking* on it.
But, if the user has *tabbed* to the text box (and then clicks on
another element) the focus is returned to the text box that was last
*clicked* on.
This can be seen in my
Don't know if this is the problem, but you're missing a semicolon (;)
after the end of your $.get function call.
Carl
Jan S wrote:
All of a sudden, xmlhttprequests don't work no more in IE7. FF
perfect, no problems.
Here the simple code:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
Ever more impressive. Well done you lot, you make us proud!
George
Does anyone know if there is any combination of plugins that would
allow me to use a calendar control from inside a dialog? I have tried
all combinations of jQuery UI dialog and calendar, BlockUI, and jQuery
datePicker.
The problem is, I guess, these calendars actually *are* modal dialogs
too,
Tim,
Are you using the css file that comes with the ui.datepicker? If so,
make sure the section near the top looks like this:
#datepicker_div {
display: none;
border: 1px solid #777;
z-index: ; /*must have*/
}
Note the z-index set to . Compare this to the z-index of
Has anyone else noticed this on a site that uses jQuery or a jQuery
plugin? IE7 and Firefox don't seem to complain, but IE6 does.
Hi Joel-!
ok - found another problem.
http://lhc.lucidcrew.com/ministries
the first and last menu items have no sub-nav, so on rollover, it
highlights the active tab and pops its subnav open. how do I avoid
this from happening?
Hi,
clueTips don't work with dialogs in jQueryUI. I just get regular title
when I hover over the links. The code I am using for this is :
HTML
div id=new_a_poll class=flora title=Edit Attendance Survey
Settings
?php print T_('seconds');?* a href=#
I just figured out that jquery.history_remote.pack.js is the file that
seems to cause the warning message for me. When I take this jQuery
plugin include file out, the message goes away. Any idea on how to
fix this? I think it might have something to do with the iframe part
of this plugin.
Here is my code:
// Mac FireFox 2 Transparent Background Fix
if ($.browser.mozilla (browser.version 3.0)) {
$(function(){
alert('This is FireFox 2!');
$('body').css('background', 'red');
});
}
I think that .version is blowing up the
$('#plot').click(function() {
var d1 = [];
$('#curveData tbody tr').each(function() {
tr = $(this);
pair = [];
tr.find('input.qty').val() tr.find('input.price').val()
pair.push( tr.find('input.qty').val(), tr.find('input.price').val() )
d1.push( pair );
});
aquaone thank you!
I need to do a little reading up on what .push does
rolf
On Jun 5, 2008, at 3:09 PM, aquaone wrote:
$('#plot').click(function() {
var d1 = [];
$('#curveData tbody tr').each(function() {
tr = $(this);
pair = [];
tr.find('input.qty').val()
This is a working sample, but I would like to use a dynamic variable
selected_country within the each loop at the end. Like:
data.selected_country. However, if I use this it takes it literally
and thus does not find selected_country in the JSON. It would be
nice to find and only return US, UK,
I have two functions that convert an ISO date into whatever date
format I want. Currently I am using a document.write statement to
write out each date, but I don't want to do that anymore. I want to
make it unobtrusive, and have jquery find a class selector, and
replace the content.
So, my
Hi there,
Please see my example here: http://www.hellobenlau.net/jquery/test.htm
So basically, I want to select a list item from Group A, and when the
transfer button is clicked, it gets transfered to Group B.
However, once transferred, the list items in Group B doesn't respond
to any click
Is there a good string manipulation library plugin? Something that
might have .split()
You need that dollar sign, a la
if ($.browser.mozilla $.browser.version 3.0)
-- Josh
- Original Message -
From: [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Thursday, June 05, 2008 2:38 PM
Subject: [jQuery] Trying to write a MacFF2 Transparency Fix -
could not find a function for it.
Will be creating a complicated js object on client side. Want to
encode that object into json, and stuff the value into a hidden form
field for POST.
anybody help a nubie?
What are people using today to create effects like thickbox or
lightbox on jQuery 1.2.6? Thickbox is broken on the 1.2.x release and
I'm stuck with an old version of jQuery until I find a suitable
replacement. What are others using?
--
Shane ∞ http://liquid.homelinux.org
-
I'm so cool
Wrap that html in a div id=hotels /div and try this code
triggered by a button or link.
function reorder(sortby, direction)
{
Array.prototype.sort.call($(div.hotel), function(a,b){
var av = $(a).find(span.+sortby).text();
var bv =
Errr JavaScript has a string split function:
http://www.w3schools.com/jsref/jsref_split.asp
Karl Rudd
On Fri, Jun 6, 2008 at 9:50 AM, Mike [EMAIL PROTECTED] wrote:
Is there a good string manipulation library plugin? Something that
might have .split()
Take a look at:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
If I've understood you're problem, it's a fairly common one that stems from
the fact that you're adding a new element (with append('li ...) that has
no click event bound to
You want:
http://docs.jquery.com/Ajax/serializeArray
Karl Rudd
On Fri, Jun 6, 2008 at 10:15 AM, Mark [EMAIL PROTECTED] wrote:
could not find a function for it.
Will be creating a complicated js object on client side. Want to
encode that object into json, and stuff the value into a
Attempting to use jquery-1.2.6.pack.js linked from
http://docs.jquery.com/Downloading_jQuery resulted in a lot of $ is
not defined errors for me.
The good news is using http://dean.edwards.name/packer/ to pack the
uncompressed version ( jquery-1.2.6.js ) worked nicely.
Perhaps a problem with
Shane,
Check out this one:
http://leandrovieira.com/projects/jquery/lightbox/
Rey
Shane Graber wrote:
What are people using today to create effects like thickbox or
lightbox on jQuery 1.2.6? Thickbox is broken on the 1.2.x release and
I'm stuck with an old version of jQuery until I find a
could not find a function for it.
Will be creating a complicated js object on client side. Want to
encode that object into json, and stuff the value into a hidden form
field for POST.
anybody help a nubie?
Here's some links:
http://jollytoad.googlepages.com/json.js
*http://mg.to/2006/01/25/json-for-jquery
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06247.html
the second is a port of the original from json.org, I use that for my JSON
requests.
*
On Thu, Jun 5, 2008 at 5:15 PM, Mark [EMAIL PROTECTED] wrote:
could not find a function for it.
Will be
Woops, sorry, wrong direction. You want to produce a string version
to stuff into the field. The method I suggested pulls it's data from a
form into a JSON form (but not the string you're looking for).
Try the stringify method from here:
http://www.json.org/js.html
Karl Rudd
On Fri, Jun 6,
Um, just for the record, I did actually google various things, on more
than one occasion..
On Thu, Jun 5, 2008 at 1:28 PM, sparkpool [EMAIL PROTECTED] wrote:
Doh, thanks. I was looking for properties, not methods. Foo on me.
On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd [EMAIL PROTECTED] wrote:
So, my question is, how can I combine my functions that I already have
created, and have it work with jQuery, so that it can look for a
specific class, which contains the ISO date, and replace that?
If you used markup like this:
span class=ISODate2008-06-05T20:35Z/span
You could replace the
This is a working sample, but I would like to use a dynamic variable
selected_country within the each loop at the end. Like:
data.selected_country. However, if I use this it takes it literally
and thus does not find selected_country in the JSON. It would be
nice to find and only return US,
Does anyone know if there is a way to convert datepicker's generated
date range string back to a suitable date format I can use to provide
values for minDate and maxDate?
Thanks!
It worked!
Now I realized that the plugin can show the hidhen element
automatically, so I don't need to show or hide it by myself.
Thanks!
On Jun 6, 12:34 am, Mike Alsup [EMAIL PROTECTED] wrote:
You need to remove this line:
$('#waitting').show();
You don't need this line either:
Duh! Thank you. I tried that earlier, but i left the ., data.
[selected_country] and it would error out.
89 matches
Mail list logo