Hi,
Thanks.
I still cannot pinpoint where I can handle the following problem, any
guidance greatly appreciated.
My data can have multiple words for one entry that must be
separated by a comma.
For example: array [ Item 1, Item 2, Item, value3... ];
When my clients type in the autocomplete
Hi, yes that does seem like a script errors.I will get back to you later on.
it's 10:27 AM here So i am still at work.
On Sun, Jan 3, 2010 at 10:28 PM, John Sanabria busetolo...@gmail.comwrote:
Waseem, again thank you for your help.
Now, this is what I'm trying to do. (I'm adding a couple of
loop through all the items in array and use
item.replace(,,',)
this should be ok now...
--
http://ranacseruet.blogspot.com/
Hi,
I have 3 divs on my page like so:
div id=divA
Panel A
/div
div id=divB
Panel B
/div
div id=divC
Panel C
/div
I want to allow the divs to dragged and swapped with each other. So if I
drag divA over divB and release the mouse, they should swap places.
Same thing, if I drag divC over divB
Hi, Thanks for your reply.
Can you please confirm that if I have a file called mydata.js that includes
the following:
var mydata = [
TownOne, County, Town Two, County, Town Three, County, TownFour,
County,
];
that using item.replace(...) as suggested will for example ensure:
1. Town
i just tried with this
cities = [TownOne, County, Town Two, County, Town Three, County,
TownFour, County];
$(#suggest1).autocomplete(cities);
its working correctly. The problem you said, event doesn't appear. So, can
you explain what you r using and what is happening actually?
Regards
If you want to match ignoring the comma(may be this is what you want), then
you have to pass some extra parameters and some more suggestion will show up
besides the expected..
$(#suggest1).focus().autocomplete(cities,
{multiple: true,
multipleSeparator: ,
matchContains:true}
);
Exactly. jQuery doesn't know which input type=submit was clicked
by the time it gets around to the serialize method. jQuery knows all
the form input types, but which submit button was clicked? Which
input type image was clicked? It is because of lines 3296 and 3297 of
the serialize function in
Thanks
_
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Md. Ali Ahsan Rana
Sent: 04 January 2010 12:06
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] Autocomplete
If you want to match ignoring the comma(may be this is what you want), then
you
In jQuery 1.3.x, .live() only works for a subset of event types.
jQuery 1.4 extends support to all event types:
Possible event values: click, dblclick, mousedown, mouseup,
mousemove, mouseover, mouseout, keydown, keypress, keyup
Currently not supported: blur, focus, mouseenter, mouseleave,
this solution could be simplified a bit:
$('h3.example').each(function() {
$('#deptFilter').append( 'option' + $(this).html() + '/option' );
});
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 3, 2010, at 6:53 AM, Paul Hutson wrote:
This will do
Hi,
I can do your solution here no problem.
I am still at work for now. will be done in about an hour then I can work on
your small project :)
tell me exactly what type of animation you want.
slide fade...slide bounce...slide elastic etc.
On Sun, Jan 3, 2010 at 10:28 PM, John Sanabria
There is an DOM element, which is reloading(replaced by ajax response
with same id/tag), then the event isn't no more bounded. I want it to
be
bounded all the time
instead of all the overhead of binding/unbinding/looking-to-do-either,
why not:
a) just replace the contents of the DOM object
b)
I am using 3 radio buttons
input type=radio id=oui class=btchoix name=choix value=oui /
...
user clicks on radio button 1 called input#oui
jQuery('input#oui').click(function(){
jQuery('div#reponse1').show('slow');
jQuery('div.postpop').show('slow');
jQuery('div#reponse2').hide('fast');
where's your demo?
i've used the css() method on DIVs before and never noticed
flickering...
I've been searching high and low on Google over the last hour looking
for this, but can't seem to find anything. Maybe I'm using the wrong
search terms, but I'd think what I'm trying to accomplish is something
that's been done before.
What I'm looking to do is delay the action of a click for a
Hi,
I've just developed a plugin that mimics the combo box control, albeit
it's a special one. That's being defined as follows:
(function($) {
$.fn.extend({
smartList: function(settings) {
//prepare settings, blah blah blah...
return this.each(function() {
I need to block other events from firing on a form submission from
within the validate plugin's invalidHandler function. I'd like to call
stopImmediatePropagation on the current event, but I don't know how to
access that event. Here is a sample of the code I have:
$(document).ready(function() {
I need to block other events from firing on a form submission from
within the validate plugin's invalidHandler function. I'd like to call
stopImmediatePropagation on the current event, but I don't know how to
access that event. Here is a sample of the code I have:
$(document).ready(function() {
Hello,
The jquery plugin for cluetip (http://plugins.learningjquery.com/
cluetip/) currently defaults to showing a cluetip on left.
I want to modify the behavior to show X pxl from the right of the
element (table row).Is there a known work around for this?
I digged in to the options for
Hi ,
I would like to create vertical coverflow using jquery like this link
http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improvement-flex-carousel-component-and-vertical-coverflow/
Please help me as soon as possible.
Regards,
John
I'm using Preview.js to create image previews on hover. The script as
it is now displays the full size image on hover, but that is often too
big. I have been able to reduce the preview size by defining
width='200px' which works fine in many cases, but when the image is
tall and narrow a 200px
Hi all, I've noticed an issue with the font rendering on IE7 on Vista
and Win 7 when using the Tooltip plugin from http://bassistance.de
When the page first renders and you a mouse-over tooltip for the first
time, the font renders smoothly and nicely anti-aliased, however when
you mouse-out and
Hi!
I'm having problem with a relatively simple effect in Safari (version
4) and Google Chrome/Win. See this web page: http://mansbjorkman.net/
I have created a div, windowContent, inside another div, windowFrame.
When the heading is clicked, windowContent is supposed to slideDown
while also
The simplest way to do this is to use the setTimeout method (straight JS)
and give it an anonymous function as callback to trigger after given period.
Something like this should do the trick :
$('a.delayed').click(function() { // assuming these links all share the
delayed class
var clicked =
I'm using the newest version of jQuery(http://www.jquery.com) and the
jCarousel Lite plugin (http://www.gmarwaha.com/jquery/jcarousellite/).
It is a content slider that rotates content slides. It is setup to
auto rotate on a set time, and you can also hit the previous/next
buttons to move through
http://groups.google.com/group/jquery-en/browse_thread/thread/f550b94914d10065
On 04/01/2010 15:12, MikeTheVike wrote:
I'm using the newest version of jQuery(http://www.jquery.com) and the
jCarousel Lite plugin (http://www.gmarwaha.com/jquery/jcarousellite/).
It is a content slider that rotates
That worked like a charm! I didn't realize I could pass an anonymous
function to setTimeout like that. Thanks for the quick reply!
David
On Jan 4, 10:01 am, Michel Belleville michel.bellevi...@gmail.com
wrote:
The simplest way to do this is to use the setTimeout method (straight JS)
and
Any ideas? Many thanks in advance.
Without looking into it too much I can't see the cause of the
problem...
... however, site design wise, would it not be better to have the
buttons expand an area on the page to show the information? You could
have the divs all created prior to the page
On 04/01/2010 15:35, Paul Hutson wrote:
Any ideas? Many thanks in advance.
Without looking into it too much I can't see the cause of the
problem...
... however, site design wise, would it not be better to have the
buttons expand an area on the page to show the information? You could
You could try something like this:
function sentenceCase(str) {
// callback function for regex replace
var replacer = function(match, endmark, cap) {
if (endmark) {
return endmark + cap.toUpperCase();
} else {
return match.toUpperCase();
}
};
return str
Thanks for help
This should do what you want (well, it's an example, but I'm sure you
can pull out the bits you need) :
http://www.position-relative.net/creation/anchor/
It'll smooth scroll to the right location for you... :)
(we've also used it on the help for Outer Empires, here...
For the purposes of testing, I have been calling this PHP script:
?
echo response;
?
Instead of the echo response; try creating a span with the id
response. i.e. span id=responseWrite to here/span
how can i get the full version of files?
http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery
Makes sense, that's also a simple workaround. Thanks.
--
Milan
heres our HTML CSS
we have 9 divs. the first three are shown and other 6 are hidden.
style type=text/css
* {
margin:0;
padding:0;
}
. block {
float:left;
width:32%; // 3 blocks per row. less 1% for IE
height:200px; // height is good to have...but required for IE
border:1px solid #000; // thin
Hi Waseem.
Thanks for your help. A slidedown transition would work just fine!
On 4 ene, 09:07, waseem sabjee waseemsab...@gmail.com wrote:
Hi,
I can do your solution here no problem.
I am still at work for now. will be done in about an hour then I can work on
your small project :)
tell me
Hello:
This is in the nature of an FYI with a sort of fix.
I make an ajax request with cache:false, but Firefox returns the
cached page. (I know that's what's happening because if I disable
caching with the web developer extension I get the expected data.)
I've fixed it by putting a metatag in
You need to explicitly remove the style after the image has faded in :
document.getElementById(whatever).style.filter=;
L
Paul wrote:
Hi all, I've noticed an issue with the font rendering on IE7 on Vista
and Win 7 when using the Tooltip plugin from http://bassistance.de
When the page first
I can't link a direct link (the whole keeping a project under wraps thing)
but heres the code:
JS:
$('.accordion .btn_more2').click(function(){
if($(this).text() == 'More'){
$(this).siblings('.content').show('fast');
The Goal
I want to cycle through list items in an unordered list. I want the
list items to take up the full width of the browser, even when the
browser is resized.
The Problem
Once the first slide transition takes place and the browser is resized
smaller horizontal scroll bars are introduced.
Hi,
on the following code:
$.getJSON(http://www.tametick.com/test2/json/settings.json,function
(data) {
this.Settings = data;
alert(data);
alert(this.Settings);
});
which can be found on http://www.tametick.com/test2 (line 63 in
http://www.tametick.com/test2/js/cardinal-quest.js), I
I'm trying to use the pagination plugin with DOMWindow, but they're
not playing well together. I think it's probably just my lack of
knowledge with jQuery, so I thought I post for help.
The DOMWindow stops working after I use any of the pagination links.
If I use DOMWindow as soon as the page
Probably an async issue - any code after the $.getJSON call (but not in the
callback) will get executed before the async call returns. Any code that is
dependent on this.Settings being set with the returned data must be within
the callback function.
Also this is probably not what you are
So would you recommend doing something like
data = $('input:checkbox[name=ckdOrd[]]:checked').serialize()
...in the ajax?
On Nov 25 2009, 12:41 am, Bryan Garaventa goo...@gutterstar.net
wrote:
I'd recommend serializing the array into a string, then reverse the
serialization on the server
I apologize if this is already answered somewhere, as I could not find
it...
If the client is constantly calling ajax objects and those objects are
bringing with them additional jQuery scripts, how does jQuery handle
the removal and handling of objects that go away, because they are
replace by a
$(#TOAppr).live(click, function(){
$.post(webapps/hr/admin/actions/act_adminHR_handler.cfm,
{
desc: $(this).attr('desc'),
pk: $(this).attr('pk')
});
Hello
Lets say we have a database where things are going to be added at
random times, over the whole day. I want a AJAX script to load new
items every 5s (its a local database so no problem with spamming it)
and for each of these items I have to do a AJAX request to get some
more data...
From
Hello there,
I am using Superfish for some Joomla websites. I face problems on the
following sites an hope that you can help me out with it:
http://stophersentumoren.woosh.nl:
1. When hovering on a list item that has children, the item appears to
become smaller (the chaniging background color
I have set up a test page at
http://capnhud.host22.com/examples/sample_cycle.html
but was wondering what would I need to change in order for the paging
to resemble this a href=http://www.dickssportinggoods.com/home/
index.jsppage/a
Hello all,
I'm running this plug in http://www.phpletter.com/Our-Projects/AjaxFileUpload/
and I need to send along additional post data can anyone help ?
here is my current code
[code]
var obj = {};
obj.id = id;
obj.func = file_uploaded;
obj.type = file;
obj.pdata ={}
Is it okay if the load happens immediately after the data is posted?
Or will it be loading something based on the DB actions having been
successful completed? As it is it's not waiting for the post to
complete before issuing the load.
Nathan
January 14th is only 10 days away.
Hope it will be on time.
On Dec 31 2009, 4:13 pm, Šime Vidas sime.vi...@gmail.com wrote:
I read somewhere, on January 14th
It's doing a DB Update on the back side, so it may not be ready until
after the update completes..
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Nathan Klatt
Sent: Monday, January 04, 2010 3:52 PM
To: jquery-en@googlegroups.com
Have you tested the 1.4 nightly with your code? Any issues with it?
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf
Of Bruce
Sent: Monday, January 04, 2010 1:28 PM
To: jQuery (English)
Subject: [jQuery] Re: Does anybody know when jquery
Then I'd say you ought to try making the load the callback of the post
and see if that works, something along the lines of:
$(#TOAppr).live(click, function() {
$.post(webapps/hr/admin/actions/act_adminHR_handler.cfm, {
desc: $(this).attr('desc'),
January 14th is only 10 days away.
and yet, there's no official announcement anywhere about it..i
wouldn't bet on it.. as it stands right this second, Alpha 2 is the
latest official announced version:
http://blog.jquery.com/2009/12/18/jquery-14-alpha-2-released/
chances that it will go
I need 1.4 for the bind object feature mentioned in this arctile:
http://brandonaaron.net/blog/2009/05/12/jquery-edge-bind-with-a-different-this
I will check out http://blog.jquery.com/2009/12/18/jquery-14-alpha-2-released/.
It is 4 days older than the nightly build.
Thanks
On Jan 4, 4:11 pm,
this alpha 2 fixed stack overflow.
Thanks
On Jan 4, 4:32 pm, Bruce brucejin...@gmail.com wrote:
I need 1.4 for the bind object feature mentioned in this arctile:
http://brandonaaron.net/blog/2009/05/12/jquery-edge-bind-with-a-diffe...
I will check
Thanks for any help on this.
.slideshow li {
width: 100% !important
}
Hello,
I have a form with multi select field like so:
SELECT NAME=cats id=cats class=cats
OPTION value=11/OPTION
OPTION value=22/OPTION
...
/SELECT
If I'm passing one value script works, but if I have multiple options,
it only gets me last in array.
jquery script working this out like:
Hi there.
I'd like to use jQuery to access a remote website that has a REST API
which returns XML data.
Should I be able to use the jQuery.getJSON request to do it or is
there another command since it's returning XML.
Example Request Details (HTTP GET):
Hey guys, I'm trying to create 1 really simple function but it just
doesn't work!
function showMenu(menu) {
var menuid = $( #+menu );
var menuRoot = $( #+menu+-root );
menuid.toggle();
menuRoot.blur();
}
What this suppose to do is when you click a link, it will
On the backend you could add a timestamp for when items are added to
the database. Then your query would return anything with a timestamp
newer than the last time you asked for items.
in client js: last_request = time();
Then send the time along with your request to the server script.
on the
To allow multiple selection the parameter name must be an array
SELECT NAME=cats[] id=cats class=cats
OPTION value=11/OPTION
OPTION value=22/OPTION
/SELECT
Notice the array braces [] following the name parameter. Without them
the parameter can only hold one item at a time.
On the server side
Maybe this?
http://www.slidedeck.com/
- Jack
kgosser wrote:
bump. any thoughts?
On Dec 17 2009, 6:24 pm, kgosser kgos...@gmail.com wrote:
Hey all,
I saw this site a few months ago that was showing off a new plugin
which used the scrollTo tool to scroll through one screen shot. I
can't
Whoa! $299 for the Pro version! Unreal!
Perhaps the last 9 is a typo, and the price is a more realistic $29.
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Jack Killpatrick
Sent: Monday, January 04, 2010 7:16 PM
To: jquery-en@googlegroups.com
Subject:
what i'm trying to do is to get the text that is contained by the
moved li, after the list item was moved. Is there a way to do that?
i tried: $(ui.item).text() but i get an ui is not defined error (i
imported just jquery.js, ui.core.js and ui.sortable.js , do i have to
import something else?)
I also have an enhanced version of the jCarouselLite plugin that you
are free to use:
http://github.com/kswedberg/jquery-carousel-lite
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 4, 2010, at 10:19 AM, Liam Potter wrote:
Hi all,
I am new to jQuery and I would like to process a matrix operation
using PHP.
The front-end code is done bellow, its a 3x3 table. the user could
select/deselect individual cells of the table and click the button
that calls a PHP script that will run some function.
1) How do I know if a
i tried: $(ui.item).text() but i get an ui is not defined error
that would potentially be a valid way to do it, but without any of
your code to work with, it's hard to help with that
$.getJSON gets, well, JSON data... it doesn't handle XML data
you can use the generic $.ajax method (which $.getJSON ultimately uses
anyways, but just with the tpye set to JSON) and handle the data in
the callback event
On Jan 4, 4:06 pm, Simon simon@rewardstream.com wrote:
Hi there.
Hi Šime,
Thanks for your question.
My demo is at
http://dev.jquery.com/ticket/5743
more specifically the attachement
http://dev.jquery.com/attachment/ticket/5743/ScrollFlickerSimple.html
I did not include in my testcase the DOM method to get the CSS
attribute directly, only through jQuery.
1) How do I know if a cell is selected? Is there is is_selected( )
function in jQuery?
There's the :selected selector, but it's for valid form fields, not
table cells...
in your case, $(table td.sel) would give you all selected table
cells
I have no idea what your PHP looks like, but one way
The remote XML API is not on the same domain as your page, is it? Then you
can't do it. Browser cross-domain restrictions will not permit it.
The only reason you can use getJSON for cross-domain requests is that it
actually downloads executable JavaScript code with a dynamic script
element, i.e.
Thanks for advice but your answer doesn't help as you cannot generate
a click on a link with jQuery
I have used this solution on other pages and it works great but in
this particular case:
I would like visitor to be scrolled automatically to particular spot
on page depending on radio button being
76 matches
Mail list logo