I found a solution on
http://stackoverflow.com/questions/609362/jquery-autocomplete-plugin-not-focusing-the-next-clicked-field
.
The fix is:
Comment out lines 308-310 of the unpacked version:
//if (wasVisible)// position cursor at end of input field
//$.Autocompleter.Selection(input,
The tablesorter plug-in by Christian Bach has what I think are a
couple of bugs/anomalies.
1) a column that starts with a zero is not identified as a 'digit'. I
think it should be.
2) a column that starts with an IP address that looks like 192.168.1.1
or 1.127.77.1 -- that is any IP with a
Hi all,
Just had a doubt this morning...
http://docs.jquery.com/CSS
We have offset() and position() to get the left, top values of an
element relative to document and parent respectively.
Both are working same with FF3 and IE7.
But,
to set the positions i use
$(#element-id).css({'left':
hi everybody,
I am writing a simple line to animate the opacity
through animate() function, not working in IE 8.
Working fine in FF as usual.
$(span.al).animate({opacity:0.1});
Is it a problem with IE 8 or something else...?
Thanks
yeah i figured that out, but still have some problems though.
I found a way to filter, but its not ideal just yet. It's something i
found on the internet but it works with some sort of array
(respone.values). To receive the objects in the array there is an
other function needed. This just seems
The autocomplete plugins disables the use of the up and down arrow
keys. In a single line input area this is not an issue, but on a
textarea it is very noticeable (especially if you are a poor-spller
like I am). I think the arrow keys should only be overridden when the
autocomplete drop-down is
Hi,
I have a page with an asp:Button save that performs an ajax validation
before post back. If the data is incorrect, the aspx returns a
warning text message. The user can ignore the warning and continue to
save the data.
I managed to perform the desired result using the posted code below.
usually,when you check your code .which tools can you use .thanks
My page basically puts in a few YouTube videos on my page
object class=YTV ...param .../paramparam .../paramembed
height= width=.../embed/object
object class=YTV ...param .../paramparam .../paramembed
height= width=.../embed/object
object class=YTV ...param .../paramparam .../paramembed
height=
I'm trying to dynamically create and remove items from a list, it
works just fine... sort of, I can remove items, and create items, but
once an item has been created, I cannot remove it again, but I can
remove the items present when the page loads.
Here is my code
div class=list
div
Why isn't this code working? I can add items but only remove the ones
originally added in the source code, not the ones dynamically added.
form
div class=list
div class=item
input type=text value= / a href=
class=removeitemRemove this item/a
/div
div
Hi guys,
I am trying to have custom error elements for *some* of my input
elements in a form. What approach would you recommend? I tried going
for overriding showErrors but that requires that I need to specify
error elements for all errors, even the ones that are supposed to get
the default one.
HI everybody.
I'm use jquery call php script, on localhost and some server ajax work
well but some server can not run ajax and show error 500 Internal
Server Error. I try replaced jquery become another script ... ajax
work well but it's show error 500 too. You can check here
Hi there,
I'm trying to create a hover dropdown many with jQuery and all seems
to work fine in safari but not in ie7?
The idea is that when I hover over the main li the sub ul appears and
slides down. When I hover over the main li is works as planned but
then on ie7 when I move the mouse down
in a forum reply-to textarea or something, then yah, i'd agree that
having no up/down arrowns would be a pain, but for a list of
authorised readers' usernames it's less of an issue.
the contents of the field don't equate to a paragraph of text, but a
number of separate entries, and the whole
To the server, making an AJAX call is just a normal browser request
And to note, 500 error means something is wrong with your server-side,
in this case PHP, code (hence it's called 500 Internal Server Error)
On Jun 3, 10:11 pm, tongkienphi tongkien...@gmail.com wrote:
HI everybody.
I'm use
It's been 15 months since the last official update... if you simply
search this group, you'll find answers and fixes to both #1 and #2 (i
know I've helped with posts in topics about both)
On Jun 4, 3:00 am, barton bartonphill...@gmail.com wrote:
The tablesorter plug-in by Christian Bach has
I have a jQuery/nyromodal 1.4 issue. I'm using nyromodal to load
different types of content into an iframed modal dialog. Content is
very diverse starting with jpg's up to 100MB pdf files.
I've observed that nyromodal is doing a somekind of preload of iframe
content (you can observe this in
To the original poster, i don't have time right now to really delve
deep into your code, but just a quick glance raises the question What
is ReloadPage() supposed to do?... i would have the feeling judging
by your code that you expect:
- Ajax call be made
- *then* reload the page
that is in
(function($) {
$.fn.jCarouselLite = function(o) {
o = $.extend({
btnPrev: null,
btnNext: null,
btnGo: null,
mouseWheel: false,
auto: null,
speed: 200,
easing: null,
vertical: false,
circular: true,
visible: 3,
That's called ternary syntax:
(expression) ? True : false;
If the expression evaluates to true, then the true portion is run, else the
false portion is run. A real world example:
Var total = (myValue == 15) ? 15 * 3 : myValue / 2;
Not helpful, but that's how it's used.
As for the other
The commas are just allowing multiple values to be set in one single
line, ie/
var running = false, animCss=o.vertical?top:left
is the same as
var running = false;
var animCss=o.vertical?top:left;
if you don't understand conditional if statements, an example is that
the value of animCss is
Hmm still seem to be having some issue with it. The code is not
properly posting to sessions.cfm I think. Looking at firebug every
thing seems to be fine but when I then pull back in my tasks.cfm the
data was never written to sessions.cfm properly.
The validation is working currently.
Got it working with the below code! Had to move my validation to the
top of the pre submit calls so it would validate first then do the
rest of the ajax submit I think. Hopefully this works for me!
Again Gustavo thanx for the help!
John
var options = {
//meta:
Yeah been having this issue on an autocomplete search box of mine.
could it be that the server is denying mulitple requests from that control ?
On Thu, Jun 4, 2009 at 1:39 PM, MorningZ morni...@gmail.com wrote:
To the server, making an AJAX call is just a normal browser request
And to note,
Sorry to post again to this group, but again jQuery has me stumped on
what seems like a simple task. I've a test doc up at
http://www.nottingham.ac.uk/~ntzfr/test/ajax/jquery/xml/jquery_xml3.html
and if you click on any of the static links (class=rlo_link) you'll
get an alert, meaning that the
$(.mylinkclass).live(click, function() {
alert(it Worked);
}):
if that fails try holding this script in one of the xml nodes
script
$(function() {
$(.mylinkclass).live(click, function() {
alert(it Worked);
}):
});
/script
On Thu, Jun 4, 2009 at 4:46 PM, fredriley fred.ri...@gmail.com wrote:
I am creating a single column fluid layout and have run into an issue
when positioning the images I display via Mike Alsup's cycle plugin.
I dynamically load a content DIV with three other DIVs, one of which
is controlled by the cycle plugin. The other two DIVs are positioned
as expected, however
I just started using jquery recently. I do understand the codes and
how they work but i cant understand how to reference external jquery
file in the head section. If you download jquery libraries you see
e.g: jquery.1.2.3.js, but in the tutorials they expect you to refeer
to a certain jquery.js
have you downloaded th Jquery Javascript library from http://jquery.com/ ?
have you added the script refference you your page ?
head
script src=jquery.js/script
/head
not : src is the file path or url path of which folder the script is sitting
in and its' file name
On Thu, Jun 4, 2009 at 1:46
And to add to that, the actual name of the js file makes absolutely
no difference (i think that was the question actually asked by the
original poster)
On Jun 4, 11:04 am, waseem sabjee waseemsab...@gmail.com wrote:
have you downloaded th Jquery Javascript library fromhttp://jquery.com/?
I'd suggest to understand why your dynamic objects are wired up,
thoroughly read this article
http://www.learningjquery.com/2008/03/working-with-events-part-1
understanding why is the solution of fixing your issue
as for
as even to do the simplest thing you need to fully internalise the
whole
How do I eliminate or override the position: absolute; being
injected into the img tag, as that appears to be the culprit?
You can't eliminate it. For the slideshow to work the container
element must have 'relative' position and the slides must have
'absolute' position inside the container.
Because you never bind your dinamically added items.
Try adding new variable function that contains your removing item code,
then re-bind for all .removeitem's item just after you added a new item.
This is what I've done so far:
var ItemRemoveFn = function(event) {
// Here is your remove
On Jun 4, 3:50 pm, waseem sabjee waseemsab...@gmail.com wrote:
$(.mylinkclass).live(click, function() {
alert(it Worked);
}):
Thanks very much for the swift and helpful reply. I'd not come across
'live' before, but looking at the docs http://docs.jquery.com/Events/live
it's plainly what I
You must to check if the moue moved on its childrens or not, before you
trigger the close action.
Btw, IE sux.
2009/6/4 TJ tho...@atalanta.uk.com
Hi there,
I'm trying to create a hover dropdown many with jQuery and all seems
to work fine in safari but not in ie7?
The idea is that when I
On 6/3/09 11:55 PM, Gustavo Salomé gustavon...@gmail.com wrote:
No way you can do this unless you do have 'switch' that converts all
elements to its respective non-utf8 code.
how is the search string encoded in the q parameter sent to the backend?
whatever conversion is needed, isn't it
thanks man
how about $(ul, div)
Try this:
$('object').click(function(){
$(this).find('embed').css({width:500px,height:500px});
});
2009/6/4 AndyW awyso...@absoftware.com
My page basically puts in a few YouTube videos on my page
object class=YTV ...param .../paramparam .../paramembed
height= width=.../embed/object
www.airportbags.com
This sites moving navigation effect is done via scriptaculous and
would much prefer to use a jquery plugin instead. Does anyone know of
a similiar plugin that would allow for horizontal movement as well as
vertical and allow me to customize the speed and easing???
Anyone
I wrote a script to show a grid overlay using a javascript
bookmarklet. Now OS X throws an error (NS_ERROR_DOM_BAD_URI) when I
try to load the script from a local path (file:///xy). Windows XP (in
Parallels) doesn't have this problem.
Loading it from a webserver works on OS X, too.
Is this
Thanks to you as well for the swift reply.
On Jun 4, 4:04 pm, MorningZ morni...@gmail.com wrote:
I'd suggest to understand why your dynamic objects are wired up,
thoroughly read this article
http://www.learningjquery.com/2008/03/working-with-events-part-1
Thanks, I'll read it carefully.
The home page of jQuery plugin: Treeview has a typo: Leightweight .
http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
So I noticed a problem when using helpers and connected sortables,
this exists in 1.7.1 not sure about any other version.
Basically if you use a helper and drag an item to a different sortable
which has a different display value set (block vs inline) the item in
the new sortable goes to the
Yes.
Its called scrollTo.
2009/6/4 williampdx wbenning...@gmail.com
www.airportbags.com
This sites moving navigation effect is done via scriptaculous and
would much prefer to use a jquery plugin instead. Does anyone know of
a similiar plugin that would allow for horizontal movement as well
Thats exactly what I need. Thanks so much!
On Jun 4, 9:05 am, Gustavo Salomé gustavon...@gmail.com wrote:
Yes.
Its called scrollTo.
2009/6/4 williampdx wbenning...@gmail.com
www.airportbags.com
This sites moving navigation effect is done via scriptaculous and
would much prefer to
Sorry, in Windows XP it only works when visiting local HTML files. On
real websites I'm having the same problem.
But why is it working using any webserver to host the script? I
thought this was cross-domain all the same...
Or one could use .live()
$('.removeitem').live(click,
function(){
$(this).prev().parent().remove();
return false;
});
So that when an item with class 'removeitem' is created, it is
automatically bound to the click event.
Just a thought!
-S
On Thu, 04 Jun 2009 22:12:00
That syntax looks for any ul tag in the context of the div variable (which
would have to be a jQuery variable. That might look like this:
var div = $('#myDiv');
var ulInDiv = $(ul, div);
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf
thank you so much
On Jun 4, 10:17 am, Mike Alsup mal...@gmail.com wrote:
How do I eliminate or override the position: absolute; being
injected into the img tag, as that appears to be the culprit?
You can't eliminate it. For the slideshow to work the container
element must have 'relative' position and the
Fixed!
Jörn
On Thu, Jun 4, 2009 at 5:29 PM, Phillip Senn phillips...@gmail.com wrote:
The home page of jQuery plugin: Treeview has a typo: Leightweight .
http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
ah one more thing
in o = $.extend({ afterEnd: null }, o || {});
the o || {} means ?
What about just attaching the code you need during insert..
// Add item to list
$('.additem').click(function(){
var template = $($(this).prev().get(0)).clone();
template.insertBefore($(this));
return false;
});
Becomes...
// Add item to list
Actually I finally got it to work using, the part I was missing was I
had to pass in 'this' witht he search otherwise - I'm guessing here -
it was using the document instead of just the section I wanted it to
search. This gives me the feature that FaceBook has of making the
imbed videos bigger
Hi There,
first of all, sorry for taking so long time to answer the answer :-) I
had to change accounts...
Originally I had written:
for an introductory article regarding jQuery I have done the obvious
and shown how to do a slide show of pictures (nothing as fancy as
lightbox :-). The
Any feedback?
On Jun 3, 11:24 am, Andrew andrew.alcant...@hotmail.com wrote:
Hi All,
I have a plug-in that adds onclick event to an element, below is a
snippet?
jQuery.fn.showBox = function(options) {
var options = {title:the title,content:the content};
return this.each(function(){
The documentation for the treeview plugin consists of examples, but I
wonder if anyone has written some narrative about it?
2009/6/3 Arie thomasa...@gmail.com:
Hello,
I tried to use Cycle Plugin, and it works great. I have the Previous
and Next navigation work without any problem.
This is the code I have:
-
script type=text/javascript
$(function() {
$('#feat-container').cycle({
prev:
If you look at
http://docs.jquery.com/Plugins/Treeview/treeview
the demo is confusing because it shows a folder called New Sublist but
the tree that displays in the demo has a folder called Folder 1.
It's not until you view the source do you realize that the two have
nothing to do with one
I am cleaning up some html code and originally i had
li
div class=loading id=loading_profile/div
div id=profile
dl class=entry
dtProfile Settings/dt
dd class=skills
?php foreach ($user['Preferences'] as $preference):
echo $preference['name'] . ', ';
You're going to need to have a callback function in the .load that
attachs prettyPhoto() to the newly inserted A.
Something like this (you'll have to make this work but hopefully it'll
point you in the right direction)
$('tr.info_row' + i + ' td').load('movie_info.html', function() {
Actually I jumped the gun but hopefully soon I will figure this out.
Unrelated to your issue, I would consider an effects queue.
Just sayin'
On Thu, 4 Jun 2009 15:17:24 -0230, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
I am cleaning up some html code and originally i had
li
div class=loading id=loading_profile/div
div id=profile
dl
The Add!-button adds new elements to the tree, to demo the
add-option. So there definitely is a relation.
Jörn
On Thu, Jun 4, 2009 at 7:41 PM, Phillip Senn phillips...@gmail.com wrote:
If you look at
http://docs.jquery.com/Plugins/Treeview/treeview
the demo is confusing because it shows a
What are you using to do the string matching?
For me, I was using autocomplete to search for something stored in a
MySQL database, and MySQL by default automatically matches even those
strings with accents from non-accented characters. It should either be
the script or the database that handles
Have a default CSS link:
link type=text/css rel=stylesheet href=general.css /
// do jquery date calculations
// for example,
var css = 'night.css';
$(link[rel=stylesheet]).attr(href, css);
The above will replace general.css with night.css.
On Jun 4, 6:26 am, jez j...@h4x3d.com wrote:
Hello,
if the value is null, it will assign it as an empty object
On Jun 4, 12:47 pm, runrunforest craigco...@gmail.com wrote:
ah one more thing
in o = $.extend({ afterEnd: null }, o || {});
the o || {} means ?
On Jun 2, 6:42 pm, jsuggs jsu...@gmail.com wrote:
Basic answer, yes. If you copied and pasted the example html, then
the url parameter references labels.xml, which would have to reside
in the same directory as where you saved the html file. Also, don't
forget that you also need the jquery
The || is or. Whichever is true first is the result.
So this || that would equal this.
But null || that would equal that.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of runrunforest
Sent: Thursday, June 04, 2009 11:47 AM
To: jQuery
Thanks Gustavo
I put in a kludge for this just to move on with the project. But I
will try your suggestion in the near future and let you know.
jake
On Wed, Jun 3, 2009 at 11:38 PM, Gustavo Salomé gustavon...@gmail.com wrote:
Try this:
$(#knowndiv').parent('td').prev().prev().html();
Think
Solved this by providing the modal with an onHide() callback AND by
explicitly removing the overlay and window per the README page 4.
Dolt!
On May 29, 5:37 pm, ithra ithr...@gmail.com wrote:
I'm trying to convert a Thickbox iframe setup to a jqModal div. While
I can load content into a
I'm not sure I completely understand what you're looking for, but it
sounds like you're in need of using event delegation so that something
can be added and will get handled by a click handler that was defined
before it was added. Here's a good article:
Works fine in FF/IE/Webkit:
$('head').append('link rel=stylesheet type=text/css href=css/
base.css /')
On Jun 4, 1:26 pm, jez j...@h4x3d.com wrote:
Hello,
I am almost certain one of you guys will have a super quick solution
to this, but I just can't get it and it is doing my head in:
I
invalid code
div dl class="entry"
Dave Maharaj :: WidePixels.com wrote:
I am cleaning up some html code and
originally i had
li
div class="loading" id="loading_profile"/div
div id="profile"
dl class="entry"
dtProfile Settings/dt
dd class="skills"
?php foreach
I am using the DataTables Plugin on a table. Each row in the table
contains a form.
I am using the sAjaxSource initialisation option to retrive a JSON
string from the server.
I now want to add the JQuery Form event ajaxform to each form in the
table.
I think I have to use JQuery's Live event but
Right now this is what I am getting:
http://www.createyourimpact.com/clients/msc/
Go to programs for example - how do I get the drop down boxes to fit?
Thanks!
I want to in a form be bale to enable or disable portions of the form
when the user clicks ona check box. I have tried two different ways
but neither seems to work...
//the first does not let me even click the check box
$('#regular').toggle(
function() {
Hi,
i've made a horizontal Superfish menu which fills the containing div
entirely, based on the description given here:
http://dizque.lacalabaza.net/temp/full-width-navigation-bar-with-css.html
Basically that is:
#menu { width: 100%; float: left; display: table;}
#menu ul { display:
Hi all, I need some help here. I'm still pretty new to jQuery and
Javascript in general, so apologies if this is a basic question.
All I am trying to do is a simple select all checkbox script. The
problem is, no matter what I seem to do, only the first element is
matched.
The structure of my page goes
div id=CLVMajorModule
div class=majorModule
div class=propImageContainer /div
/div
/div
div id=PLVMajorModule
div class=majorModule
div class=propImageContainer /div
/div
/div
(poop, the images are being rendered, the code is
img src= alt=
Hi, my first posting in this group. Hope someone can give me a hint.
Is it right, that there is no hash sended to the url in jquery TABS
3 by default ? means the hash is not visible in the url? I'm new on
this stuff ...
I've read that I can send the hash with this to url.. select: function
http://www.jeremyschultz.com/client/orchardplace/website/beta/
I deployed Superfish for the menu you see at the top of this webpage,
and it works pretty well except I cannot apply a consistent space
around the 1st level list items. margin-right should do the trick but
it doesn't work with any
If I set up some functions like this:
myFunctions = {
foo: function() {
alert(Foo);
},
doFoo: function() {
myFunctions.foo();
}
}
And then in .ready() make the following calls:
$(window).bind(eventFoo, myFunctions.foo);
$(window).bind(eventBar, myFunctions.foo);
From the
http://cse-mjmcl.cse.bris.ac.uk/blog/2005/08/18/1124396539593.html
smth like this?
On 4 июн, 19:26, jez j...@h4x3d.com wrote:
Hello,
I am almost certain one of you guys will have a super quick solution
to this, but I just can't get it and it is doing my head in:
I have this piece of code
Hi John,
johnHoysa wrote:
Actually I jumped the gun but hopefully soon I will figure this out.
My understanding is that both ajaxSubmit and validate are registered
on the Form submit event. So both events are fired at the same time.
Thus when the form's beforeSubmit callback fires, the
http://cse-mjmcl.cse.bris.ac.uk/blog/2005/08/18/1124396539593.html
smth like this?
On 4 июн, 19:26, jez j...@h4x3d.com wrote:
Hello,
I am almost certain one of you guys will have a super quick solution
to this, but I just can't get it and it is doing my head in:
I have this piece of code
There isn't in HTML Specs a true value for checked attribute.
Try:
$(input:checkbox).attr(checked, checked);
Maurício
-Mensagem Original-
De: matt
Para: jQuery (English)
Enviada em: quinta-feira, 4 de junho de 2009 18:12
Assunto: [jQuery] Selectors only matching first element
Thanks. Unfortunately this doesn't seem to work either. The div
example from the page should work as it was copied directly, but it
doesn't. This is bizarre.
If it helps, I have the tablesorter, validate and maybe even UI
plugins set up here as well.. could one of them be interfering?
On Jun
I have run into a problem.
I have
li id=set_1 class=entry
dl
dtHeading/dt
dd class=skills Sample here/dd
/dl
/li
div class=edit_profile Edit/div
div class=clear/div
li id=set_2 class=entry
dl
dtHeading/dt
dd class=skills Sample here/dd
/dl
/li
div class=edit_settings
I'd like to make my buttons clickable once so I use the .one() method
to set up their binding. This way users don't click a form's button
more than once while it is submitting. I thought this would be easy to
do but I cant seem to rebind the button during the error event. I was
hoping I could
Got a sample of the HTML? (like it's hard to tell if #pw is the
checkbox)
On Jun 4, 4:50 pm, tashfeen.ekram tashfeen.ek...@gmail.com wrote:
I want to in a form be bale to enable or disable portions of the form
when the user clicks ona check box. I have tried two different ways
but neither
OK forget previous post
How can I disable all links with $('a[class^=edit_]') after one is
clicked?
what I did was fade the other buttons out when 1 is clicked. But how can I
disable the buttons temporarily?
I added$('a[class^=edit_]').attr(disabled,true , function() { to my
script but
This works here!
Have a look at: http://jsbin.com/awapu/edit
Maurício
-Mensagem Original-
De: matt
Para: jQuery (English)
Enviada em: quinta-feira, 4 de junho de 2009 19:35
Assunto: [jQuery] Re: Selectors only matching first element
Thanks. Unfortunately this doesn't
I think something in your HTML may be not formatted correctly.
Usually plug-ins would not interfere with simple selectors like $
(div). What happens if you remove the plugin code and try it?
On Jun 4, 12:35 pm, matt mattseb...@gmail.com wrote:
Thanks. Unfortunately this doesn't seem to work
I have a simple shopping website. Buyers first need to register to
purchase an item. While a buyer proceeds through steps shipping
payment etc... he is allowed to save some of the information entered
for future use. For instance, John Doe puchased xyz item and while
proceeding through steps he
I am trying to disable all links except for the one clicked.
$('a[class^=edit_]').click(function(){
var url_id = $(this).attr('href');
var e = $(this).attr('class');
var x = $(this).attr('id').split('_');
var y = x[0];
var z = x[1];
alert(e);
the alert shows edit_profile so e =
Hi Will,
This should do it:
var callajax = function(){
$.ajax({
url: 'foo.html', // replace this with your url
success: function(data) {
console.log('yay!');
},
error: bindclick
});
};
var bindclick = function() {
$(a).one(click, callajax);
};
bindclick();
-Mensagem Original-
De: Dave Maharaj :: WidePixels.com
Para: jquery-en@googlegroups.com
Enviada em: quinta-feira, 4 de junho de 2009 21:43
Assunto: [jQuery] Selector not question
I am trying to disable all links except for the one clicked.
$('a[class^=edit_]:not(.' + e + ')').fadeTo('slow' , 0.25 , function() {
...
}
Maurício
-Mensagem Original-
De: Dave Maharaj :: WidePixels.com
Para: jquery-en@googlegroups.com
Enviada em: quinta-feira, 4 de junho de 2009 21:43
Assunto: [jQuery] Selector not question
I am
1 - 100 of 104 matches
Mail list logo