thanks to all ,
On 7/31/09, rupak mandal rupakn...@gmail.com wrote:
Hi bharani I think this code will work for you
$(document).ready(function() {
$('#movie_name').keyup(function(e) {
if(e.keyCode == 13) {
//your code
}
})
})
On Fri, Jul 31, 2009 at 9:44 AM,
If I load b.html in firefox, alert(1) will work, but ont work in IE.
page a.html
!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
meta http-equiv=Content-Type content=text/html;
hi David, you have to bind jump in load callback function.
$(function() {
$.ajaxSetup({
cache: false
});
$('#btn').click(function() {
$('div:first').load('b.html',function(){loadCallback();});
});
});
function loadCallback()
{
Hi,
live does not support the 'change' event yet, read here :
http://docs.jquery.com/Events/live
it works on some browsers (FF) but not on all, IE does not fire the
event.
Using the livequery script could solve the problem:
$('#jump').livequery(function() {
$(this).change(function() {
You can't fake URLs. If you could, you could make a link that reads
http://www.google.com link pointing to your personal page (or worse).
Is it a problem that it's obvious it's a delete request? Isn't that
what the user wants?
You should use a form for that, where you can have the ID for
Hi Maxim,
thanks for your idea, I've tested it.
- with firefox 3.5 under ubuntu
-- ajax: false and true, with one, or two script-tags and a local
script-src it always works as expected
-- with a remote file and one script-block it always works like having
stated async: true
with two script
Hi Maxim,
thanks for your idea, I've tested it.
- with firefox 3.5 under ubuntu
-- ajax: false and true, with one, or two script-tags and a local
script-src it always works as expected
-- with a remote file and one script-block it always works like having
stated async: true
with two script
hi.
Thanks for your reply mm.
I tried reducing the speed with no luck..
I've seen jquery carousels around the web which have a nice behavior,
though i can't seem to figure out what is the issue.
I would appreciate it if you find any progrees with this mater.
Thanks,
Oren.
On Jul 17, 5:14 pm,
if you have in html the following:
input type=checkbox value=true name=check/
input type=hidden value=false name=check/
ajaxSubmit will submit :
check : true
check : false
$(#check).fieldValue() will return
[ true ]
so, this is inconsistent with the result of ajaxSubmit, it should
return
Here's an example that highlights the problem. Run this first sample
and note that the second button to appear does nothing when clicked:
script type=text/javascript
$(function() {
$(button).click(function() {
alert(RAR!);
I have an iframe in a page which has a url of blank.html. In the
parent page I have the following which is an example script from
frameready. The myVariable is passed to blank.html as an object called
frData. What code would I need on blank.html to access\alert
myVariable.
I think you could do something like the following:
a href=whatever you want in here class=id-123Delete/a
script type=text/javascript
$(a).click(function() {
var id = $(this).attr(class).split(-)[1];
this.href = /?delete=trueid= + id;
});
/script
Hi Folks,
i have tried the below example..is it possible with the jquery that the
left side a small slide is there..if i hover it then it opens displays
(Back to Main Page) and if i removes the mouse it will back again.
http://www.open-lab.com/mb.ideas/index.html#mbbuttons
can any body suggest
Hi All
I am using the superfish menu on a page that also has a google map on
it. It work fine in FF but the menu will display below the google
map in IE. I have already change the z-index:999 and
position:absolute, but the result remains same for IE.
Thanks in advance for your help
Try to use the stop function before the animation start
http://docs.jquery.com/Effects/stop
On Thu, Jul 30, 2009 at 18:37, Perrin4869 juliangrinb...@gmail.com wrote:
I guess I'll make it much easier if I strip all the surrounding stuff
in the webpage, and use the uncompressed version of
I do use it, in fact, the line that triggers the animation is:
this.currentImage.stop().fadeTo(300, 0, createObjectCallback(this,
this.FadeInGalleryImageFaded));
On Jul 31, 3:16 pm, Leonardo K leo...@gmail.com wrote:
Try to use the stop function before the animation start
Yes I get the point... But how to use this on a hover? Because I
really cant see how to use this with my code... sorry :$ I'm actually
a php and perl programmer. I recently started with ajax, and now with
jquery, so i'm kind of new to this jquery stuff...
***and not only that, The live thing,
In your server side i'll create an encripted string to avoid user edition in
the url. Looks like this:
http://mysite.com?delete=trueid=123encriptedURL=WXObT4eqDq+8iij5MksGDdaqhttp://mysite.com/?delete=trueid=123encriptedURL=WXObT4eqDq+8iij5MksGDdaq
encriptedURL variable contains the string
Hi all,
Does anyone know if it's possible to transform an input type=file
id=uploadedFile... into an HTTP PUT request? Seems like you can do
this in Firefox with something like this:
fileContent = $('#uploadedFile').files.item(0).getAsBinary();
req = new XMLHttpRequest();
req.open(PUT,
Hi,
I'm a beginner for the jquery stuff. How to use superfish to create
multi column menu like a href=http://www.gunlaug.no/tos/
moa_41.htmlthis/a?
you can use post method to achieve it.
http://docs.jquery.com/Ajax/jQuery.post
On Fri, Jul 31, 2009 at 5:19 AM, Anoop kumar V anoopkum...@gmail.comwrote:
I have a menu, on which is a delete link. The URL of the link is quite
plain: http://mysite.com?delete=trueid=123
(quite obvious I think
Hi,
I have a problem for the superfish drop down menu. please look at this
image (circled with black line) a href=http://
www.freeimagehosting.net/img src=http://www.freeimagehosting.net/
uploads/5f9ae94a19.png border=0 alt=Free Image Hosting/a.
I think the problem related with some kind of
$(document).ready(function() {
$('#movie_name').keyup(function(e) {
if(e.keyCode == 13) {
//your code
}
Is it good with explorer too?
Isn't the following one a more compatible way?
$(document).ready(function() {
$('#movie_name').keyup(function(e) {
if(!e) e =
Hi,
I am following a tutorial on jQuery and somehow I could not understand
why this one does not work:
$(document).ready(function() {
$('#news-feed').each(function() {
var $container = $(this);
$container.empty();
$.get('news/feed.xml',
How can i have a pop-up Thank you like demo#8 (
http://jquery.malsup.com/block/#demos
) after the fuction finish ?
My code is:
script language=javascript type=text/javascript
function openHelp()
{
$.blockUI({ message: $('#divHelp') });
};
/script
I am developing quite a complex user interface in jQuery that relies
on an AJAX call to retrieve JSON.
We have noticed that the code runs slow in IE7. IE8 and IE6 are
acceptable. Firefox and Chrome really quick.
I have traced the problem back to the AJAX call, which IE7 seems slow
to process.
Hello,
I have the following jQuery code:
$(document).ready(function(){
$(a.navia:not([id='imprint'])).attr(href, #);
$(a.navia).click(function(){
var active = div#subnavibg + $(this).attr(id) + :hidden;
$(div.subnavibg:visible).slideUp(500);
Can anyone shine more light on this???
On Thu, Jul 30, 2009 at 3:28 PM, Joel Polsky polskystud...@gmail.comwrote:
On Thu, Jul 30, 2009 at 1:16 PM, Brett Ritter swift...@swiftone.orgwrote:
On Thu, Jul 30, 2009 at 11:11 AM, PictureManpolskystud...@gmail.com
wrote:
It works great in FF,
hi ,
I dont have a form , simple textbox
Thanks
On Fri, Jul 31, 2009 at 9:31 AM, Sandeep Gonivada gbsand...@gmail.comwrote:
I believe if the button is of the type Submit then on press of enter the
same function will be invoked.
input type=submit . / - for which you havee already
Can someone tell me what I may be doing wrong here?
var dateList = new Array();
dateList.push(new Date(2009,7-1,29));
dateList.push(new Date(2009,7-1,30));
dateList.push(new Date(2009,7-1,31));
var testdate = new Date(2009,7-1,30);
I got half of it.
$(document).ready(function () {
$(function() {
$(div ul li a).live(mouseover, function() {
if ($(this).is(':animated')) {
$(this).stop().animate({width: 83px}, {duration: 250,
easing:easeOutQuad});
} else
{
I've got a table that is produced through 2 loops (using coldfusion).
I need to be able to place the classes within an array, that way I can
calculate the columns and rows. Here is the link:
http://mercury.hamilton.edu/devmpstone/forms-pdf/employee-expense-report.cfm
The JavaScript looks like:
The multi-column look is more of an HTML/CSS issue than jQuery. Use
Firebug to inspect the code of the page you linked and you'll see how
they achieved multiple columns. You can also refer to
http://www.alistapart.com/articles/multicolumnlists/ to see how to
create multi-column lists.
On Jul
Bump
To help us understand better, I think you should post the relevant
XHTML as well.
--
Massimo Lombardo
Linux user #437712
Please tell me why the remove() doesn't work from this call:
$(this).parents(.leftbox:first).animate({height:hide,
opacity:hide}, 350, , function(){$(this).remove()});
while this one works:
$(this).parents(.leftbox:first).animate({height:hide,
opacity:hide}, 350).remove();
Thanks in advance.
here is a chain of animation
$(this).parents(.leftbox:first)
.animate({opacity: 0.5}, 350)
.animate({opacity: 0}, 350)
.remove();
you are actually chaining your events to occur one after the other on a
specific element or group of elements
in the first piece of code you shared you. it would
Well, I guess this is intrinsic to javascript. I didn't know that
date compares were not reliable. Seems to work with milliseconds
though. Learn something new every day.
var dt1 = new Date(2009,7-1,31);
var dt2 = new Date(2009,7-1,31);
alert(dt1 === dt2); //false
alert(dt1 == dt2); //false
We're loading content via ajax using .load, into a jquery ui dialog
box.
Everything is fine but I'd like to have a loading animation until the
ajax content is ready to go
I tried something along the lines of:
- put a loading animation in #divForDialog
- $(divForDialog).dialog().load(
Hi,
I mounted a tabbed section on jQuery UI 1.2.7. I use ajax to call a
file .html each time you click a tab.
Everything works correctly until you add an effect. To be more
concise, everything continues to function well even after adding the
effect, but now every time you press a tab or tabs, the
var elm = (this).parents(.leftbox:first);
elm.animate({height:hide,opacity:hide}, 350);
setTimeout(function() {
elm.remove();
}, 350);
On Fri, Jul 31, 2009 at 7:08 PM, bittermonkey brakes...@gmail.com wrote:
So is there a way I can execute the slide-fade effect, then remove the
element from
OK, I added a call to stop before the call to fadeIn, and it seemed to
do the trick. What's bothering me though, is that when the event that
calls fadeIn is called, there is not supposed to be any animation to
stop. So the question is, why does it need to be stopped? And should I
make it a habit
Give the span-element a class of error and a for-attribute that
matches the name of the input:
span class=error for=myTextField.../span
That should be enough for the plugin to pick it up.
Jörn
On Thu, Jul 30, 2009 at 10:24 AM, jQueryb...@fatcha.be wrote:
Hello,
I didn't found the same
I recommend you to use stop when you are doing animation on hover event.
Because you will never know how many times users will hover the element.
On Fri, Jul 31, 2009 at 14:42, Perrin4869 juliangrinb...@gmail.com wrote:
OK, I added a call to stop before the call to fadeIn, and it seemed to
do
When I add this rule to a page with the other rules, my page stops
validating.
Works fine if I don't add it.
What this is for is a check box next to a input box. IF the check box
is checked, the field is mandatory.
OtherCruiseLine: {
required: function(element) {
return
This problem occurs when a comma is missing. Post your entire code of the
validation.
On Fri, Jul 31, 2009 at 16:00, PictureMan polskystud...@gmail.com wrote:
When I add this rule to a page with the other rules, my page stops
validating.
Works fine if I don't add it.
What this is for is a
Maybe the problem is related to the error message missing } after property
list.
What character does } normally need to be matched up with? How many of
each of those characters do you have?
Another tip: After each { character, indent subsequent lines one more
tabstop. Unindent for each }
I have just tried putting the search control into an iframe and the
same instances occur! Double Dang! Is there no way to have selectable
form fields in a hovered div? Please, any insight is greatly
appreciated.
On Jul 30, 11:06 am, jeff jeffreykarbow...@gmail.com wrote:
I am trying to
This is nothing specific to dates.
Every time you use the 'new' operator, you get a new object.
When you use == or === to compare two objects, it doesn't mean tell me if
these two objects represent the same underlying value. It means tell me if
these are two references to *the same object*.
I've actually confined (I think) the error to somewhere in the below
code. The 6 lines that are commented out contain the problem, as it
stands now (with commented out sections) the page validates, when I
uncomment either group, I get the same error. I these 2 cases the
required line is looking
I've actually confined (I think) the error to somewhere in the below
code. The 6 lines that are commented out contain the problem, as it
stands now (with commented out sections) the page validates, when I
uncomment either group, I get the same error. I these 2 cases the
required line is looking
put a div into your sub li that you want coulumns in. Use supersubs
plugin for auto width adjusting. Treat the sub li div as you would any
other div, add columns to it etc.
amuhlou wrote:
The multi-column look is more of an HTML/CSS issue than jQuery. Use
Firebug to inspect the code of
You are not closing the brackets in theses rules: PlannedInvitationsOther
and PlannedAttendanceOther
PlannedInvitationsOther: {
required: function(element){ return
$(input=[name='PlannedInvitations'][value='Other']).is(':checked'); },
number: true
},
PlannedAttendanceOther: {
Are you sure it's the call? Or is it the response callback? Are you
doing something like writing to the DOM after the AJAX response? A
little code would be helpful to see what's going on.
On Jul 30, 7:05 pm, Justin wald...@carpe.com.au wrote:
I am developing quite a complex user interface in
Hey there, I'm looking for a light-weight jQuery modal plugin that
supports ajax, some effects and restyling or resizing by a little
Api.
I didn't find anything that fits my expectations.
Thanks, Oli
Hi all,
I'm running into an IE7 problem where the Visual Studio debugger is
saying:
Microsoft JScript runtime error: Object doesn't support this property
or method
Visual Studio is highlighting this line as the problem:
if($(this).text().trim().toLowerCase() === subToBold
$(this) should be
jQuery's trim is used like:
var str = $.trim(str);
On Jul 31, 10:24 am, Magnificent
imightbewrongbutidontthin...@gmail.com wrote:
Hi all,
I'm running into an IE7 problem where the Visual Studio debugger is
saying:
Microsoft JScript runtime error: Object doesn't support this property
or
oops, bad use of var here, but you get the idea. ;)
On Jul 31, 10:29 am, James james.gp@gmail.com wrote:
jQuery's trim is used like:
var str = $.trim(str);
On Jul 31, 10:24 am, Magnificent
imightbewrongbutidontthin...@gmail.com wrote:
Hi all,
I'm running into an IE7 problem where
Hello,
If two sites, www.domainA.com and www.domainB.com both use jQuery and
allow script caching.
(sample tag script src=/resources/jquery-1.3.2.js type=text/
javascript/script)
In browser, in user's computer, will the two sites use the same copy
of jQuery (assuming both running same jquery
If domainA and domainB both have a relative link to /resources/
jquery-1.3.2.js, they both will not share the same cached copy of
jQuery. You'll need to use an absolute url that both point to the same
place, like you mentioned with Google's AJAX Libs. That's where the
advantage is for those who
Ah.. one darn missing suqiggly can ruin the whole darn thing...
Another question, related to that...
I want when the user clicks inside the text box, that the matching radio
button becomes the selected button. Hence if they selected 100
invitations,but then decided they want 10,000, thus have
How do I retrieve the currently selected option string in a select box
instead of the value?
select id=choices
option value=valueString/option
/select
Using
$(#choices).val();
returns the value if it's set. if there is no value set, jQuery
returns the string instead. I want to retrieve the
Ah, so basically try something like:
var text = $(this).text().toLowerCase();
text = $.trim(text);
if(text === subToBold)
It's interesting how Firefox 3.5.1 doesn't seem to have a problem with
my original syntax/chain.
I have a form which is submitted via Ajax, but which the user may
continue to modify after a submission. The submission causes the
user's work to date to be written to a server-side database - a sort
of mid-form save. However, I now want form.reset to revert to the
point of last save. Currently,
Yeah, I believe the JS implementation in FF3.5 now have native trim
functions:
https://developer.mozilla.org/En/Firefox_3.5_for_developers
On Jul 31, 10:53 am, Magnificent
imightbewrongbutidontthin...@gmail.com wrote:
It's interesting how Firefox 3.5.1 doesn't seem to have a problem with
my
Yep, according to that link, it does indeed. Bookmarked! Thanks much
for the sanity check.
On Jul 31, 1:57 pm, James james.gp@gmail.com wrote:
Yeah, I believe the JS implementation in FF3.5 now have native trim
functions:https://developer.mozilla.org/En/Firefox_3.5_for_developers
On
Hello,
I'm not sure if anyone can help me with this issue, but I'll put it
out there and see. I have a page that displays a company's
information along with a list of the contacts for that company. There
could be anywhere from 0 to infinity number of contacts, and each one
has an 'Edit' button
Hi,
In my jquery validattion, the control which is invalid doesnt get
focus..
Do you guys know what the reason is..?
Thanks in advance
Ratheesh
File: jquery.treeview.css
Hi,
i would like to modify the css to visualizze other bigger icon of 30px
height 30px width; I know i have to add the path and the image in
this way
.filetree span newclass {background: url(images/image.gif) 0 0 no-
repeat;}
but i would like to visualizze them
Is it possible to do some changes so that the bottom row will not be
included while doing the sorting?
Suppose I have totals in the bottom row, so I do not want that row to
be
sorted while using the table sorter through jquery.
Please let me know if it can be done.
Crazy reallybut I have been trying to re-position the module on my
html page and I can't get it to move to where I want it. I have tried
the following:
- Creating a new page with only the example carousel on the page
- Wrapping the entire module, from id=wrap down in a div and
Crazy reallybut I have been trying to re-position the module on my
html page and I can't get it to move to where I want it. I have tried
the following:
- Creating a new page with only the example carousel on the page
- Wrapping the entire module, from id=wrap down in a div and
positioning
Hi,
Does anyone know of a way to programmatically expand a select
element's list of options? So, for example, you have a select with w/
5 options. You click on the element and the list of 5 options opens
and drops down. Is there a way to force this behavior
programmatically? I've tried
Hi,
Does anyone know of a way to programmatically expand a select
element's list of options? So, for example, you have a select with w/
5 options. You click on the element and the list of 5 options opens
and drops down. Is there a way to force this behavior
programmatically? I've tried
I'm using jQuery and jQueryUI. I'm new to jQuery, so any help much
appreciated...
I have an application where I am displaying a list from a database.
When the user hits a button, a modal form dialog comes up and they can
enter data.
It makes an ajax call to the server, gets the data,
There is a flash of anti-aliased text quickly followed by cleartype in
IE8 causing an abrupt text shift in the superfish dropdown menu (and I
assume many other instances that use a jquery or js fade?).
How is this fixed or can it be?
See for example the text shift here when the dropdown
tfoot
http://www.w3schools.com/tags/tag_tfoot.asp
On Fri, Jul 31, 2009 at 07:36, Razor M haxor1...@gmail.com wrote:
Is it possible to do some changes so that the bottom row will not be
included while doing the sorting?
Suppose I have totals in the bottom row, so I do not want that row to
Just wanted to add that I tried making the container and content an
explicit width and height, and I tried using div's inside rather that
blockquote.
On Jul 30, 3:45 pm, Les l...@lsquareddesign.ca wrote:
I'm using Cycle Lite in two places on this site, to rotate through the
testimonials on the
I fixed the missing CSS :hoverfunction for my navigation via jQuery.
If I hover ofer a list item everything is displayed correctly but if I
hover out the 'span_ie_hover' class won't be removed.. I could cry :(
//if the user uses IE6 or less
if ($.browser.msie
i had this some time ago.
solution.
use a XML webservice.
you are probably calling a specific html element from a specific page and
injecting it into your page.
using a XML webservice should sort things out.
XML webservice can be done in both PHP and .NET so yeah...
On Fri, Jul 31, 2009 at
OK I hope people will forgive my faux pas of responding to my own
item...
so I have found my problem. It turns out that the this in the line:
$(this).dialog('close');
is not referring to the dialog... but to the ajax request. Duh.
There are a couple other things too... but I
You should have .attr('checked','checked'), by the way you don't need to wrap
your filter by QUOTE
$('input[name=PlannedInvitationsOther]:checked') would work as well
PictureMan wrote:
Ah.. one darn missing suqiggly can ruin the whole darn thing...
Another question, related to that...
Like this? (Which doesn't work)
$(input[name=PlannedInvitationsOther]).focus(function(){
$(input[name=PlannedInvitations][value=Other]).attr('checked','checked');
}
);
On Fri, Jul 31, 2009 at 7:00 PM, FrenchiInLA mamali.sohe...@gmail.comwrote:
You should have
Hi, Daniel.
If I understand what you're doing, then yes, you can run an ajax request
inside the response section
of another ajax request.I do it all the time.
Here's some code from one of my sites that does that very thing (there's
some ColdFusion in there, too):
$.ajax ({ cache:
IE doesn't like trailing commas, take comma out after "speed"
you have:
$(function() {
$('.cycletest').cycle({
delay: 1000,
timeout: 7000,
speed: 600, this comma remove
});
Les wrote:
Just wanted to add that I tried making the container and content an
explicit width and
jQuery UI has what you want, i guess lol, http://jqueryui.com/
On 31 Jul, 20:56, oli janoli...@gmail.com wrote:
Hey there, I'm looking for a light-weight jQuery modal plugin that
supports ajax, some effects and restyling or resizing by a little
Api.
I didn't find anything that fits my
Either of these should work:
$(#choices option:selected).text();
$(#choices option:selected)[0].text;
On Jul 31, 10:45 am, Zaliek zali...@gmail.com wrote:
How do I retrieve the currently selected option string in a select box
instead of the value?
select id=choices
option
88 matches
Mail list logo