by setting a breakpoint, I made sure the $
(#show_messages_div).append(litest/li); line is executed, but
nothing happens, but if copy this line and execute it in the console,
it works, this is so weird.
On Jul 6, 1:16 pm, Slowness Chen slowness.c...@gmail.com wrote:
the html is like the
Hello,
Thanks for the prompt reply. Yes I have used the newclass and tried.
But the problem remains same. I think I have figured out the effecting
place. I have used the jeditable plugin for the editable as follows.
$('.plus'+num).live(mouseover, function(){
when I load the html from server side if I append pure text like $
(#show_messages_div).append(''); it works, but not if I append
html like $(#show_messages_div).append('h2/h2');
On Jul 6, 2:24 pm, Slowness Chen slowness.c...@gmail.com wrote:
by setting a breakpoint, I made sure the $
Hi all,
The code below shows three thumbnails with link and alt text . The
info is coming from the xml file and I'm using $.ajax to place it in
the page.
Now I want to add a tooltip that is using Mootools.
I have to add title=The tooltip::I want to read class=tipz to the
div (or to the image,
phew! after wasting half of day on this subtle bug I finally figured
it out, I'll put it here in case others run into the same issue. I
spent most of my time playing around on client side with firebug,
everything seems just fine, but once I append some html tag, it does
nothing. when I fell
$(this).nextAll('.jcarousel-item-placeholder').remove();
http://docs.jquery.com/Selectors
On Jul 6, 1:05 am, expresso dschin...@gmail.com wrote:
I want to remove the following li and any after that which have the
class jcarousel-item-placeholder in them
li class=jcarousel-item
Stick to a single framework.. avoid confusion and save your users'
bandwidth. You should either convert your jQ code to mootools or use a
jQuery tooltip plugin.
And the whole thing you posted is unreadable, please use a sharing
site like jsbin.com or snipt.org :)
On Jul 6, 5:10 am, Lleoun
Thanks Ricardo. And sorry for not sticking, this is quite urgent and
didn't know who could help me.
I have to use Mootols tooltip .. so how can I convert my jQuery code
to mootools? haven't I done it yet?
The code is here:
http://www.vivocomtech.net/vidzapper/jQuery_andMoo_tooltip.rar
(2 kb
Does jCarousel have the ability to have multiple carousels with
multiple external controls on one page? It seems that all of the
callbacks that you initialize control only one specific carousel.
There is no way differentiate between carousels even if you were able
to decipher which carousel is
Hi,
I have set up SlideToggle on my website to expand a div. When the div
expands, it pushes the rest of the page content down the page.
However, when I collapse the div the rest of the page content doesn't
return back up the page and I am left with a gap where the expanding
div was.
This
Hi,
I am using jQuery progress bar, it is working fine.
i want to blur(non function) background actions, please suggest me
how to do this.
Thanks,
Haranal.
the Event Fix method should add two fixed properties:layerX and
layerY.
and now I have to write a little more:
el.click(function(e){
e = e.originalEvent;
var x = e.layerX || e.offsetX;
alert(x);
});
Hi,
I'm wondering that what is the purpose of the field.focus() line
inside the Autocompleter.Selection function in the autocomplete
plugin.
$.Autocompleter.Selection = function(field, start, end) {
/*...*/
field.focus();
};
Because with that line the autocomplete has some very
Hi,
I am using jQuery progress bar it is working fine,
here i want to stop using any background action up to completion of
progress bar.
Please advise me
Thanks,
Haranal
This is what i have. It does not correctly add two values when two
checkboxes are checked. It should add up to 160 but it adds up to 20
instead! any ideas?
Thanks
Patrick
labelinput type=checkbox name=additionals
id=NutsandBoltsPreconference value=150 / Nuts and Bolts
Preconference/labelbr/
Hi,
I am trying to use
$(.euro).rules(add, digits)
for my form but it seems that only the first matching input field with
class euro is being validated using the rule digits. my form looks
like this:
input name=costs[1] value= class=euro
input name=costs[2] value= class=euro
...
This is a
Hi,
the function You create, is a callback method. When the task is done,
the callback gets called. You need to update the HTML of the TEST in
the callback. Impossible to use return value of a callback in code
which assigns it.
$('.TEST').html( false );
$('.menulink').mouseover(
In the changelog.txt for Superfish it is said that in 1.4.2:
attach everything to jQuery.fn.superfish to clean up
jQuery
namespace
So I made the following changes in supposition.js v0.2 and it seems to
work fine with Superfish 1.4.8 and Supersubs:
line 57:
The call itself makes sense - when selecting text within the field,
the field should have focus. But the call to $.Autocomplete.Selection
in that case is a bug, as there is nothing to select.
Jörn
2009/7/6 Lauri Suoperä lauri.suop...@gmail.com:
Hi,
I'm wondering that what is the purpose of
Similar to the validate-method, the rules method works with just one
element. This should work as a workaround:
$(.euro).each(function() {
$(this).rules(add, digits)
});
Jörn
On Mon, Jul 6, 2009 at 12:39 PM,
macronommarcus.stratm...@googlemail.com wrote:
Hi,
I am trying to use
this should help:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 5, 2009, at 8:10 PM, misiek wrote:
Hello,
My code:
html:
div class=ajax_here
Hello!
I read in the documentation, the special characters like ':', we must
escape with TWO backslashes. But not always:
script type=text/javascript
function Nyom() {
if ($('#pipa\\:x').is(':checked')) {
$(':checkbox[id^=pipa\:x\:]').attr('checked','checked');
}
It's because inside your .each statement you are re-selecting *all*
checked boxes again, so
$('input[name=additionals]:checked').each(function() {
amountdue += parseFloat( $(this).val() );
});
Check out the documentation of .each(), where it will explain that
inside the loop, this is
http://plugins.jquery.com/project/parseQuery
Perfect, thank you!
The examples seem to work fine on http://sorgalla.com/projects/jcarousel/
but for some reason my implementation shows the placeholders but no
images are rendered. I looked at the mark-up and the html is fine.
It works in FireFox, Safari, and Chrome just fine and so it's weird
that my
Date: Sat, 4 Jul 2009 09:49:03 -0700
Subject: [jQuery] Re: Inclusion of external scripts (best approach)
From: ollo...@web.de
To: jquery-en@googlegroups.com
Will check that one now.
Thanks once more, Karl!
On 4 Jul., 17:41, Karl Swedberg k...@englishrules.com wrote:
As far as I understood, stopPropagation() is supposed to stop events
bubbling 'up' though the element tree (through parent elements). Eg.
If I use stopPropagation() on a click event on an anchor element in a
list, the event would not be triggered on the list.
In my code I have a popup div, that
I have 3 drop down menu's where is post the value's bij a button.click
(see code below).
But when i push the button i see an error in fire bug POST
http://localhost/agenda nieuw/handler.php 67ms jquery-1.3.2.js(line
3633)
I looked online for awnsers but couldn't find any. Maybe you guys can
help
hmm, the original liveQuery plugin seems to work as expected, so I'm
using that instead.
On Jul 6, 1:31 pm, joeformd joelan...@gmail.com wrote:
As far as I understood, stopPropagation() is supposed to stop events
bubbling 'up' though the element tree (through parent elements). Eg.
If I use
This works fine:
$.getJSON(http://localhost:59396/xxxWeb/
CarouselHandler.ashx?action=getproductsids= + ids,
function(data) {
carousel.size(allProductIDs.length);
if (numberOfImagesLeftToShow
numberOfImagesToDisplay) {
unsubscribe
On 6 Lip, 14:17, Karl Swedberg k...@englishrules.com wrote:
this should help:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...
--Karl
Thank you!
I have mentioned that I have already tried something like this:
JS:
$().ready(function (){
$(div.nawi a).each(
Well, firebug shouldn't have cared as much as IE would, because of a
comma inside the list of params in your POST. The last element in an
object can't have a comma.
Also, could you post the HTML?
On Jul 6, 8:49 am, Mark johanns.m...@gmail.com wrote:
I have 3 drop down menu's where is post the
I've customized Agile Carousel (I'm using JQuery 1.2.6) to fit what I
need, that is a single slide that rotates with a row of associated
buttons. In the unaltered state, I can click on a button, the slide
show will stop and show the correct slide. Now, when I add a hover
function, the correct
When using a select combo box that has multiple selections enabled, my
server was not seeing it as an array. It was only seeing it as a
single variable value. All I did to correct this was add [] and the
end of the name attribute.
Ex.
[code]select name=categories[] id=categories
I have not been able to get my JCarousel implementation to show the
added data in IE 6,7, or 8. It works fine in all other
browsers..which is just weird especially when the creator's demos all
run fine in IE (http://sorgalla.com/projects/jcarousel/).
I simply added some simple Javascript logic
I used the URL checker in the Plugins/Validation, to create a no-url
checker. This can be useful to prevent some spam from coming through
in a form.
nourl: function(value, element) {
return this.optional(element) || !(/^(https?|ftp):\/\/[a-z]|
Try using the handle option.
http://jqueryui.com/demos/sortable/#option-handle
--
Hector
On Sun, Jun 21, 2009 at 5:59 AM, Collaborate orhed...@gmail.com wrote:
Hi!
I'm wondering how I can limit the dragability of an sortable item,
to ex. a element inside the item.
Meaning, I only want
Adding a jsoncallback=? or callback=? got rid of the Access to
restricted URI denied code: 1012 but I get no data showing in my
plug-in when adding either of those querystring params to my url. So
I don't get it. I thought that it's supposed to automatically
replace ? with function(data) in my
Need some suggestions on how-to control cell(s) format on an ajax
reload. The server-side program can convey necessary coding with each
ajax load. I'm sure there are numerous ways to do this, but I just
need some ideas to get started.
Ransom Fitch
old-tyme programmer, neophyte with javascript
I just tested this out with adding an alert(data.length); In FireFox,
the alert comes right up. But in IE 6,7,8, it never hits the alert:
$.getJSON(http://localhost:59396/xxx/CarouselHandler.ashx?
action=getproductsids= + ids,
function(data) {
For JSONP, the server needs to wrap the response in the supplied
callback. The cross-domain getJSON function is basically appending a
script to the page, with the contents of that script being a function
containing the data you want to pass back. Play around with the URL in
the flickr example
Everyone,
If you want to unsubscribe from this list, please follow the
instructions for doing so:
You can unsubscribe from a group through the web interface or via
email. To unsubscribe through the web interface, just click the Edit
my membership link on the right-hand side of the
If you pass a param to the json call, it gets passed into the
querystring:
$.getJSON(jsdata/customerhandler.ashx, { show: Math.random(),
departmentId: dptId}, customerLoaded);
would be rendered as:
jsdata/customerhandler.ashx?show=0.23231553departmentId=123
the second parameter to the getJson
I am building a basic draggable+sortable page based on this demo:
http://jqueryui.com/demos/draggable/#sortable
http://jqueryui.com/demos/draggable/#sortableMy sortable list will start
out empty and the user can drag various draggables onto the sortable.
I want to add a delete icon to each of
$(#GoogleGroup #jquery-en).hide(); - doesn't seem to work either ;-)
Thanks for the instructions Karl.
On Mon, Jul 6, 2009 at 12:23 PM, Karl Swedberg k...@englishrules.comwrote:
Everyone,
If you want to unsubscribe from this list, please follow the instructions
for doing so:
You can
Tried this instead. Got no errors and the data painted fine in
FireFox. But in IE, it hit my error handler. Again, no idea why in
IE it's complaining. I checked that the json returned is definitely
valued (obviously it has to be because this data is rendering in
FireFox and other browsers) by
Here is the Json returned
[
{
ImageTag: \u003cdiv class=\CarouselItem
\\u003elt;pgt;lt;img src=quot;http://www.xxx.com/image/
2568.jpgquot; alt=quot;quot;gt;lt;/pgt;\u003cp\u003e\u003ca href=
\Bear-10.prod\\u003eTeddy Bear\u003c/a\u003e\u003c/p\u003e\u003cp
Thanks. I'm not following you though per my example. I have
specified function(data) as the method
On Jul 6, 10:56 am, Bill Ramirez betbuil...@gmail.com wrote:
If you pass a param to the json call, it gets passed into the
querystring:
$.getJSON(jsdata/customerhandler.ashx, { show:
Ok, so their sending back a json response wrapped with method foo. So
then how would you specify foo in my example as the method to call on
the getJSON script I've created?
I think my example is fine as it is. We're not going cross server for
now but wanted to understand how to form this and
I'm sorry, I just found this thread. Ryo has found the correct
solution. I overlooked that Supposition hooked into $.superfish. Sorry
for the inconvenience, folks!
Joel Birch.
On Jul 6, 8:14 pm, Ryo INOUE rin...@gmail.com wrote:
In the changelog.txt for Superfish it is said that in 1.4.2:
Here is the menu that I'm trying to implement. I'm not sure what I'm
doing wrong, I've followed all of the demos and still the menu is not
properly setting the cookie, which is causing the menu to open
incorrectly when the page loads.
Please let me know if there is something wrong in my code or
Hello Experts!
I have a staff list that uses a text input livesearch with filter on/
off feature. I am new to JQuery, don't really understand the syntax
for advanced selecting, so I'm writing the same function 12 times for
12 lists.
I need to simplify things with a generic function that
might have another solution:
$.ajax({
type: "jQueryProblem",
url: "sign_Up_jQuery_Group.google",
data: "getProblemSolved",
success: function(){
googleGroup.die();
}
});
Ralph Whitbeck wrote:
$("#GoogleGroup #jquery-en").hide(); - doesn't seem
to work either ;-)
Thanks for the
Hi,
I am using a remote rule an external file to check in a form that a
username is available. I am trying to show a loading symbol (or a
message that says checking your username is available ) while the
ajax query is running. Does anyone here know how to do this?
Thanks!
It worked! Thanks!
On Jun 30, 5:49 pm, James james.gp@gmail.com wrote:
When you set your checkbox names, use the [] at the end of the name.
For example:
input type=checkbox name=myField[] value=1 /
input type=checkbox name=myField[] value=2 /
PHP will automatically convert that into
I have multiple rows of data in an HTML table. E.g., financial
transactions. In each row I have an HTML dropdown SELECT with options
(user will select transaction tag). I want the transactionID and
selected tagID to pass to an onchange event for that unique row.
The transactionID comes
Hello there,
I am using Drupal forms with Jquery. I used the following code to
disable a button after it is clicked to prevent double updates.
$(document).ready(function() {
$('#node-form').submit(function (e) {
var settings = Drupal.settings.block_submit;
if (settings.block_submit_method ==
Ok so I'm dumb. I needed to use a callback function when I use load to
make sure the load is done first, the it worked.
On Jul 6, 11:09 am, Erich93063 erich93...@gmail.com wrote:
I have a div on my site that I am populating with a load that gets
some html from another file on the server. This
I have a div on my site that I am populating with a load that gets
some html from another file on the server. This included file has a
div on it that I want to now reference and populate with the value of
a hidden form field on the page doing the loading, but when I do it,
it looks like nothing
After some more testing I came to a solution, but it still puzzles me that
my original code did not work as expected.
I found that ui.item changes to the item I need in the sortdeactivate
callback. I can now add a delete image to the item, but now I have to first
test it to make sure it doesn't
try
.attr('disabled', 'disabled') instead of .attr('disabled', 'true')
- Original Message -
From: Amit amit2...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Monday, July 06, 2009 10:50 AM
Subject: [jQuery] DISABLE BUTTON AFTER 1 CLICK -JQUERY: NOT WORKING WITH
IE8
Hi there,
How do you packed them?
try http://developer.yahoo.com/yui/compressor/
- Original Message -
From: AndyPSV andy...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, July 01, 2009 11:33 AM
Subject: [jQuery] Join several JS scripts into one big file
Hi Cesar,
Thanks for your reply. But that isn't working. It still gives me the
same result. The form does not post. It is just that the button gets
disabled after click.
Wonder why it works properly in Firefox and Chrome but not in IE.. :(
Please help.
~Amit
On Jul 6, 2:14 pm, Cesar Sanz
I am trying out $.ajax instead of getJSON for debugging purposes.
Because getJSON did not report an error in IE (6,7 or 8) and I am
trying to figure out why a jQuery plug-in is not painting my returned
images to the screen in IE but is in other browsers.
So I tried this. Interestingly enough, it
Here is the code from the view source window in IE for the submit button if
this can help:
div id='uploading_msg_wrap'div id='uploading_msg'Now uploading
...br/(This
may take a minute)/div/divinput type=submit name=op id=
edit-submit value=Save class=form-submit /
Thanks,
~Amit
On Mon, Jul
Hi there,
For our sitemap, I am attempting to create functionality that when a
user hovers over a link, a description is shown in a tooltip, similar
to how a video and it's description show on hover at netflix.com. Our
sitemap has a sister json file, that has the description fields in it.
My
What does this have to do with jQuery? O_o
What you're talking about is basic PHP.
On Mon, Jul 6, 2009 at 07:07, Shrimpwagon shrimpwa...@gmail.com wrote:
When using a select combo box that has multiple selections enabled, my
server was not seeing it as an array. It was only seeing it as a
I would also like to add that it would be very easy to bake in the
description fields into the title tags...but for a sitemap of a very
large site, I am thinking this will bloat the html to be very obese
(We will easily have well over 5,000 pages). Any thoughts on this as
well?
i am trying to get ie7 to behave like other browsers in a form with a
very wide select like a country listing. i want there to be a width
on the select, but let the options width overflow as necessary.
the only javascript that halfway allows this, something like i am
using...
Well, if you put it in the title tag, it will save on a lot of the
HTTP requests. Though it wouldn't affect bandwidth much because most
likely the json will be cached the first time, it will still kick out
requests to check if the file was modified. Are there going to be a
lot of links to hover
fixed it,
removed:
context.Response.Charset = Encoding.UTF8.ToString();
changed: context.Response.ContentType = application/
json;charset=utf-8;
On Jul 6, 2:38 pm, expresso dschin...@gmail.com wrote:
I am trying out $.ajax instead of getJSON for debugging purposes.
Because getJSON did not
I think blockUI currently has some incompatibility issues with IE8. I
haven't tried it out myself, but do a search on it to see what you can
find.
On Jul 5, 3:18 pm, boulet sensei sensei.bou...@gmail.com wrote:
nobody to help me ?
Perhaps it makes most sense then to have it in the title tag. I'm not
sure how much it will be used, but there will be an equal number of
links to hover over as pages in our site (so, very many). We will have
it gzipped though, so perhaps that is the best route?
On Jul 6, 2:02 pm, James
Perhaps it makes most sense then to have it in the title tag. I'm not
sure how much it will be used, but there will be an equal number of
links to hover over as pages in our site (so, very many). We will have
it gzipped though, so perhaps that is the best route?
On Jul 6, 2:02 pm, James
When you use callback=? jQuery will create a random name for the
anonymous function you pass in. For example:
$.getJSON(CarouselHandler.ashx?jsoncallback=?,function(data) {
});
The actual requested URL will be CarouselHandler.ashx?
jsoncallback=abc12345, and the global variable 'abc12345' will
Found it.
Just change:
var tagid = $(.selectList).val();
To:
var tagid = $(this).val();
Bingo!
On Jul 6, 10:34 am, mwc michael.chand...@gmail.com wrote:
I have multiple rows of data in an HTML table. E.g., financial
transactions. In each row I have an HTML dropdown SELECT with options
hi,
I'm using table sorter. This problem only occurs on pages that aren't
the first page. I have a class called 'clcls' on each individual cell
in column. For testing purposes I have the click open an alert box.
The class is applied to the cells, but on the second page in table
sorter the
How can I remove the trailing from a string I'm concatenating to go in a
URL?
--
View this message in context:
http://www.nabble.com/String-Remove-Trailing-%22-%22-tp24359541s27240p24359541.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Hi,
I'm using sortable and must get the id of the element being moved.
Somebody help me?
My code:
$(function() {
$(#sortable).sortable();
$(#sortable).disableSelection();
});
div class=demo
ul id=sortable
li class=ui-state-default id=item_1Item 1/li
li class=ui-state-default id=item_2Item
thanks I have not seen nextAll yet.
On Jul 6, 5:47 am, Ricardo ricardob...@gmail.com wrote:
$(this).nextAll('.jcarousel-item-placeholder').remove();
http://docs.jquery.com/Selectors
On Jul 6, 1:05 am, expresso dschin...@gmail.com wrote:
I want to remove the following li and any after
I have tried unsuccessfully to implement this solution, but I keep
getting the error:
validator is not defined
if (validator.element(#btnNext1)) {
Here is my code:
head
meta http-equiv=Content-Type content=text/html; charset=UTF-8 /
script type=text/javascript src=/scripts/jquery/
In my $(document).ready(function() I have
function foo() {}
How can I access the foo function from a different jquery .js file?
thank you, very new
- eric
On Jul 6, 1:36 pm, Thales Lacerda thales...@gmail.com wrote:
Hi,
I'm using sortable and must get the id of the element being moved.
Somebody help me?
My code:
$(function() {
$(#sortable).sortable();
$(#sortable).disableSelection();
});
div class=demo
ul id=sortable
li
weird, I went to the selectors page but don't see nextAll
On Jul 6, 5:47 am, Ricardo ricardob...@gmail.com wrote:
$(this).nextAll('.jcarousel-item-placeholder').remove();
http://docs.jquery.com/Selectors
On Jul 6, 1:05 am, expresso dschin...@gmail.com wrote:
I want to remove the
You can't. You'll have to create a global variable outside document.ready:
var myFuncs = {};
$(document).ready(function() {
myFuncs.foo = function() {
// etc.
};
});
other .js file:
myFuncs.foo();
-- Josh
-Original Message-
From: jquery-en@googlegroups.com
You mentioned Access to restricted URI denied, which is a cross-
domain error. Just as an FYI, making a request to a different port
number will trigger this. Something to always keep in mind when
working with ajax.
On Jul 6, 10:09 am, expresso dschin...@gmail.com wrote:
Ok, so their sending
If you are using progressive enhancement for table, pagination plugin
seems to take the markup out of the DOM to store in jQuery object and
then display only required number of rows. You can see this in the
example of pagination plugin.
http://tablesorter.com/docs/example-pager.html as well
If it was me I'd be saying "how can I change my Mootools code to
jQuery"? Why? You can't beat the documentation that surrounds jQuery!
When I originally probed around all the _javascript_ libraries
(YUI,Mootools,Prototype,Dojo) I realized pretty quickly that jQuery has
by far the best support
I'm trying to get some thumbnail images that are displayed with
ClueTip to be centred vertically horizontally. The images are
various sizes, though none is larger than 150px on a side, so I set
ClueTip to have a width height of 200px.
The images are wrapped in a div so that I can have them
Hi,
The scenario is:
On a page there's an area with some details. When user click there a
dialog opens to edit the fields.
User can click Close/Cancel or Save.
If Cancel - dialog gets closed.
If Save -the data gets posted and then one of the 2 scenariouses
happen:
1. Data is valid - dialog is
So I got the error to go away by using:
var validator = $(#testForm).validate();
But now the problem is that the button proceeds to the next step, even
if there are errors. I can't get it to not display #step_2 when there
are errors. It was suggested that I try using class={required:true}
on the
It sounds like the validation is not attached to the click of the next button.
If you stick a breakpoint in the step method - does it hit the breakpoint?
Also - there is no space between button and id (buttonid=btnNext1
value=Next class={step:'#step1control'}
nextbuttonNext/button) in the html
There definitely is a space between button and id. That must have just
been a side effect of the email.
Unfortunately, like I said, javascript is not my strength. I don't
even know what a breakpoint is. I starting to think I'm just in over
my head.
On Jul 7, 12:03 am, Alletha McIntyre
By the way. Do you have any examples of where you've implemented this
sort of thing? I'd like to see it in action somewhere. I learn well by
studying working examples.
On Jul 7, 12:03 am, Alletha McIntyre amcint...@bigmate.com.au wrote:
It sounds like the validation is not attached to the click
95 matches
Mail list logo