lets just see the logic behind this.
item
item
item
item
say we have item as mentioned above.
METHOD 1
--
save to database :
your table would be like so
if you are using MYSQL
ID INT(11) NOT NULL auto_increment,
userID INT(11) NOT NULL,
position TEXT NOT NULL,
html TE
thanks for your concern i will try this code but the values which i m
displaying in list is coming from database so how can i made them
selected.Can i do that ?i m adding those values in list through this
code
for(var j=0;
j wrote:
> First, this i
this should work:
$('div').children('table,p').not('.ImageHolder');
or this:
$('> table,p','div').not('.ImageHolder')
but for me the first is more readable.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 3, 2009, at 5:56 PM, Roswell wrote:
After s
Hey, i'm just getting into jquery and i'm going to start posting site
templates on theme forest, and, with the permission of the author of
jcarousel, if it is possible to edit the css to change the look of the
carousel, don't worry there will be a link back on the site.
I'm learning more and more about jQuery and am really enjoying what I
can do with it. I'm working on a multiple file uploader in ASP.NET w/
C# and am looking for advice (or good tutorials) on uploading multiple
files using the jQuery MultiFile plugin. I've seen examples using it
with a single file
Hi all:
i am trying to use jquery UI sortable on my webpage to display
toolbars. what i want is, let people sort these toolbars in the way
they like. i have named toolbars with id "1","2","3","4", and i saved
sorted order to database via toArray method. i was wondering how i
could display these t
Hi,
I use the plugin blockU for one of my page, and page is perfectly what
i was expected but the problem is the display of the block page under
IE. here is my problem : after the block page appear, it don't
dissapear even if the timeout is over.I tried several methods, but the
same errror occure
After spending some time searching without luck here is my question:
I am looking for a way to select all and elements which
are a child element of a , except those that are of class
ImageHolder, with the condition to keep the order of the elements.
Example HTML:
test value 1
hi,
did you try $.scrollTo($("#content")); ?
christophe
This fix took a while to find in my searches, but it fixed my
jCarousel problem in IE7. My error was: 'link' is null or not an
object.
Just went to the bottom of the mycarousel_itemList array and got rid
of the comma on the LAST panel of the carousel.
Before:
{url: "feature1.jpg", title: "Featur
Just learning Java Script & JQuery, but an experienced developer, I've
created a page with a series of elements that use the .slideDown() and
.slideUp() functions to reveal and hide the different areas of content on
the page.
To facilitate this, the page's html uses links with ids similar to: {
Hello everyone .
Here is my problem : I tested this plugin in IE, and the block page
appeared..but it didn't disapear after the end of the timeout. I tried
and tried for 2 hours, but I gave up. If someone would have a glance
to my code and eventually find the error, I ll be extrememly
grateful !
That should work correctly. Do you have a demo online ?
--
Ariel Flesler
On Jul 2, 3:55 pm, Frozzare wrote:
> Hello.
>
> I don't get jquery localscroll target setting work right. I want to
> scroll the div's in #content div, but it's not working.
>
> my js code:
>
> $(document).ready(fu
Hi buddy!
I'm undecided on the final buttons and graphics, but thanks to your
help I got the script down.
I actually fixed my own problem after posted this last email.
Have a great weekend.
Erik
On Jul 3, 2009, at 5:14 PM, Cesar Sanz wrote:
Hello.
I see you succed retrieving data u
Thanks for the reply! I'll step thru the script.its for the book
jQuery in action which used v1.2.
On Jun 26, 9:55 pm, James wrote:
> Usually it's something in your script that causes the error, even
> though it shows that the error is in the jQuery library.
> It is also recommended to use t
Great, thanks for the pointer , I will try that.
On Jul 3, 10:47 pm, Tom Worster wrote:
> On 7/2/09 5:49 AM, "gnjunge" wrote:
>
>
>
> > Concerning Jörn Zaefferer autocomplete.
>
> > In many cases the autocomplete list is being filled with Key Value
> > pairs, such as a list of FooBars with thei
Hello.
I see you succed retrieving data using ajax,
Which is the problem?
- Original Message -
From: "Erik R. Peterson"
To:
Sent: Friday, July 03, 2009 2:48 PM
Subject: [jQuery] Need help on How to load content via AJAX in jQuery
I found this script:
http://yensdesign.com/2008
I found this script:
http://yensdesign.com/2008/12/how-to-load-content-via-ajax-in-jquery/
I got it working, but it really looks bad in IE, along with erros.
Any alternatives or sugestions?
Here is my page: http://www.enaturalskin.com/needhelp.htm
Many thanks.
Erik
Make jure your datepicke script is loaded first in your browser..
You can use firebug to see if the script is laoded correctly
- Original Message -
From: Charlie
To: jquery-en@googlegroups.com
Sent: Thursday, July 02, 2009 12:00 PM
Subject: [jQuery] Re: $("#datepicker").datepi
Did you test your two solutions?
Does the same thing?
- Original Message -
From: "expresso"
To: "jQuery (English)"
Sent: Thursday, July 02, 2009 10:11 AM
Subject: [jQuery] 2 different ways of doing the same thing?
Would this not be 2 different ways to do the same thing?
$('inpu
if you know the ids of the elements you want to auto-fill you can try this
$("iframe").contents().find("#element_id").val("hello");
Slts.
- Original Message -
From: "James"
To: "jQuery (English)"
Sent: Wednesday, July 01, 2009 12:17 PM
Subject: [jQuery] Re: Problem accessing externa
http://jqueryui.com/demos/tabs/#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F
Carlos wrote:
Hi,
I have a map inside a "tab", which is created using jquery ui tabs.
Placing the map inside a tab causes it to center itself in the wrong
point, a
you are trying to set a dom property on a jQuery object.
for the second line, either do:
chk[0].checked = true;
or:
chk.attr('checked', true);
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 2, 2009, at 3:45 PM, Arne Garvander wrote:
This code d
Hello, suppose this markup
just do $("div#div_id input:text") to retrieve an array containing all the
inputs and you are done
then, if you want to iterate it do
$("div#div_id input:text").each(function(){
window.alert($(this).val());
});
Regards
- Original Message -
>...selecting the next .slide after the one with .current in it?
$('.current').next('.slide')
--
> how can i get the div index of the .current class?
var divIndex = $('#slideshow div').index( $('.current') );
Maurício
I have not found another way to retrieve information from an iframe.
BTW, I see no problem using that sintax
- Original Message -
From: "smokinguns"
To: "jQuery (English)"
Sent: Thursday, July 02, 2009 3:07 PM
Subject: [jQuery] Selectors question
Hey all,
I'm new to jQuery and
On Fri, Jul 3, 2009 at 8:51 AM, Andrew wrote:
> I'm new to JavaScript -- and cannot get jQuery to work (unless I
> access http://code.jquery.com/jquery-latest.js)
> ...
> * my hosting service does doesn't have gzip compression enabled --
> what file do I need to install on my server if I don't ha
On 7/2/09 5:49 AM, "gnjunge" wrote:
> Concerning Jörn Zaefferer autocomplete.
>
> In many cases the autocomplete list is being filled with Key Value
> pairs, such as a list of FooBars with their name and id. Using the
> result function one would get the id, and drop it into a hidden field.
>
>
It's probably not a good idea to use the one at code.jquery.com. You
could use the Google CDN version, though:
http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js
" type="text/javascript">
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Fri, Jul 3, 2009 at 8:51 AM, Andrew wrote:
>
> I'm new to JavaScript -- and cannot get jQuery to work (unless I
> access http://code.jquery.com/jquery-latest.js)
>
> Is this permissible, or do I have to download jquery.js to my server?
>
> If not, I have other questions:
> * my hosting service
I'm new to JavaScript -- and cannot get jQuery to work (unless I
access http://code.jquery.com/jquery-latest.js)
Is this permissible, or do I have to download jquery.js to my server?
If not, I have other questions:
* my hosting service does doesn't have gzip compression enabled --
what file do I
I know I'm missing something obvious. the "Close" button is supposed
to stop both countdown timers and manually toggle the quiz to the quiz
complete div. It doesn't. So what simple thing am I missing here. :-)
###
jQuery ui test
@import "/css/jquery.countdown.css";
#quizCountdown { width: 4
Hi,
I have a map inside a "tab", which is created using jquery ui tabs.
Placing the map inside a tab causes it to center itself in the wrong
point, and the marker in the center doesn't show up.
there's a test here: http://demo.motivus.pt/googlemaps/test.html
is this a googlemaps or a jquery prob
I was convinced that this was some kind of faster, special-er variable
just for jQuery objects. Thanks to everyone on this thread for
clarifying.
> If the value is numeric, which it is in this case, I wouldn't use the
> $ or j. I only use $variableName when the value is a jQuery object.
Can I use the jQuery.js on http://code.jquery.com/jquery-latest.js, or
must I download jquery.js to my server?
If the answer is "no", my hosting service does not support GZIP -- so
what file do I install on my server?
I've tried both jquery-1.3.2.min.js, and jquery-1.3.2.js.txt and they
don't wo
Hi there,
This is a bit all new to me - this is the first project i have worked
with jQuery. Here is a link to the issue:
www.origin.ie/testarea/index.html
The issue I have is my site contains a .animate all images on a page
[they fade in]. I have an animated slide panel to the top of the page
I was wondering if someone could please help me with a little Jquery.
Does anyone know how i would go about selecting the next .slide after
the one with .current in it? how can i get the div index of
the .current class?
Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Ive got the action attached to s
Thank you very much :-)
Thank you very much. This done the job :-)
James & Ricardo,
Thank you both for the detailed responses, I appreciate it.
I didn't realize HTML 5 can be used NOW without having to wait for
browser quirks. In that case, it is absolutely the way to go. I
already have this working and it is great, very clean, the way it
should be IMO. If f
maybe someone else can help. You said you had code to make it work from
button click. Would use similar code on page open also. Now I see 2
images and seems like all you need to do is swap images. Hard to do
without seeing markup, exisitng code.
Takaya213 wrote:
It is the exact same ove
In addition, you can display the number of available characters (or
words) using the maxlength plugin:
http://remysharp.com/2008/06/30/maxlength-plugin/
That can also enforce a maxlength, though I don't recommend that
option - it should be possible to enter a too-long text, then shorten
it.
Jörn
Interesting. That was quite a while ago... :)
Thanks, Karl!
On 3 Jul., 15:55, Karl Swedberg wrote:
> On Jul 3, 2009, at 3:48 AM, olsch01 wrote:
>
>
>
> > I also read about using $ or j if you're variable stores a jQuery
> > object.
>
> > Maybe this might sound stupid, but what if you first do
Thanks everyone and thanks Scott for the help. I'm just getting into this
project and your help has been *invaluable*!
I'll let you know how it goes. I think your plugin Scott should work really
well! =)
-Dave
--
View this message in context:
http://www.nabble.com/Thoughts-on-creating-a-hov
Hi, Keith...
I'm not sure what the final solution will be for your particular issue,
especially since
your are using "home-grown ajax", but I will say that I deal with
DOM-injected code
all the time by using the livequery plug-in available for jQuery. It's
designed for just
this purpose...to appl
Jörn,
Thanks for your help, you pointed me in the right direction and I
managed to get it working.
I used this code:
jQuery(function() {
var v = jQuery("#login_form").validate({
submitHandler: function(form) {
$.post("log
It is the exact same overlay that has to show as open on the homepage and
closed on all of the other pages, but you can click on a button to show and
hide it as well.
That is the button that must show as selected/active when the overlay is
open and as unselected/inactive when closed.
Open Overla
On Jul 3, 2009, at 3:48 AM, olsch01 wrote:
I also read about using $ or j if you're variable stores a jQuery
object.
Maybe this might sound stupid, but what if you first do something like
this:
var $showFeedback = $('#showFeedback' +spanIdNo);
(or var jShowFeedback = $('#showFeedback' +span
"The only thing I can attribute to this not working is the fact that
the form is loaded after the document is technically 'ready'."
That is it exactly, there is a live() function in jquery with limited
event handling as well as livequery plugin that binds events to future
data
transpar3nt wr
Hi all,
I am new in jquery.I have one problem.in my project i have a and
in this div i have lots of textbox or input box (type :text). Can any
body give me some code to find these control and get there value.
Thanks
Hello.
I don't get jquery localscroll target setting work right. I want to
scroll the div's in #content div, but it's not working.
my js code:
$(document).ready(function() {
$('ul.nav').localScroll({
target: '#content',
axis: 'xy',
var v = $.browser.msie && !(op.attributes['value'].specified) ?
op.text : op.value;
HI all, first timer..
I realise this was posted before but the problem persists. I'm using
the latest version of the jQuery Form plugin. Apparently it's an IE8
thing cos the line works fine in compatibility mode
Hey all,
I'm new to jQuery and I have a scenario:
I have a page that contains an iframe. The page in this iframe
contains a table and the last column of every row has a textbox. Each
textbox has an unique id of the form tb_rowNum(tb_1,tb_2 etc.). Each
row also has some hidden input elements. I'
Hello, I am fairly new to jQuery so if this is obvious please be
gentle :P
I am currently trying to get a plugin script (or any script for that
matter) to fire when used inside of a div that contains content that
was loaded using AJAX.
In this case I have a page that onLoads a user input form in
Hello, I am new to this discussion but hope you would post reply for
my query and encourage me to keep in touch with this discussion.
Well here is my problem. I have made an edit in place form in
which we can add and remove the elements. I have used
jquery.jeditable.mini.js and jquery.duplic
I'me not sure I understand ? : like this : ?
var tlSize = 0;
$("#scroller p").each(
function(i){
var elSize = $(this).width();
tlSize += elSize;
});
alert(tlSize);
On 3 juil, 13:24, eewan wrote:
> Hello,
> I want to find full width of all elements in one div. Here is example
> code:
>
> text
This code does not work
var chk = $('#frmCoverage:checkbox');
chk.checked = true;
What am I doing wrong?
hai guys am new to this and dont know how to get the values from
jquery to a controller in php
i will xplain
my simple login form is as follows
//
User Name :
Password :
//
Maybe you need to use backgroundColor for the first instance as well.
On Jun 16, 6:20 pm, Apothem wrote:
> I use jQuery 1.3.2 and tried to use:
> $('.applied').each(function(){
> $(this).css('background-color', '#ff').animate
> ({backgroundColor: "#000
Is there some form of auto complete that completes the query in the
actual input box instead of a drop down box or the like? I'm not
really sure how I would explain it so I did a quick photoshop (http://
img21.yfrog.com/img21/3313/autor.png).
Thanks in advance,
Bryan
I began using Cluetip (which is a wonderful plug-in - thank you) on a
project I'm working on, but encountered positioning issues for
tooltips associated with elements housed within an iFrame in a UI
dialog box. On parent pages, tooltips appear as expected outside the
associated element (e.g., hyp
how to let the jqgrid refresh? without page reloading.
does jqgrid have such a method? how to call it?
Thanks in advance.
Hi,
I am using JCarousel in my website, and it seems to slow down, and
even freeze, the page when shown with IE8.
I was looking in the other posts and no one mentioned this problem
before! how ever I found a suggestion on another site with a similar
issue, which works as a work-arround... it to
like this ?
var tlSize = 0;
$("#scroller p").each(
function(i){
var elSize = $(this).width();
tlSize += elSize;
});
alert(tlSize);
On 3 juil, 13:24, eewan wrote:
> Hello,
> I want to find full width of all elements in one div. Here is example
> code:
>
> text
> text
> text
> text
>
>
> $("#sc
Hello,
I heve a problem whith the hover method, i've tried lose onmouseover,
onmouseenter and my problem is not solved.
On FF is works fine but not in ie. I have not tried it on other
client.
my problem is this :
I create a div in annother div :
$(#div1).html("toto");
then :
$("#div2").hover
I'm trying to get this script to work with SpiderMonkey,
http://www.sfu.ca/~jdbates/tmp/jquery/200907020/sauce
It's a port of a script I previously wrote with Python's httplib, but
I prefer to use jQuery
However it complains when I try to run it,
$ ./sauce
jquery-1.3.2.min.js:12: ReferenceErr
Hello,
I think i have found the problem place but still cannot solve it.
$(".addressDiv span").live("mouseover", function(){
> //clickable function here..
>
> });
>
I have used the live() event to trigger the function on mouseover in the
dynamically added elements
eewan wrote:
Hello,
I want to find full width of all elements in one div. Here is example
code:
text
text
text
text
$("#scroller p").each(
function(i){
var elSize = $(this).width();});
I need total width of all :-)
Thanks in advance
The following seems to work for me:
var elSize = 0;
hi,
I am using the multiple selection combobox
It can find in the following links:
http://abeautifulsite.net/notebook/62
http://abeautifulsite.net/notebook_files/62/demo/jquery.multiSelect.html
But I am having a problem.
I need to get all items selected (or checked) in the multiple selected
why not find the width of the div?
$("div#scroller").width();
eewan wrote:
Hello,
I want to find full width of all elements in one div. Here is example
code:
text
text
text
text
$("#scroller p").each(
function(i){
var elSize = $(this).width();});
I need total width of all :-)
Thanks in
shot in the dark here $("#overlay").show(). ??
Takaya213 wrote:
The button image has 2 states an on when it is active and an off when it is
inactive. I am not too concerned about this one, but more of the showing and
hiding of the overlay on page load.
Thanks.
Charlie T
The button image has 2 states an on when it is active and an off when it is
inactive. I am not too concerned about this one, but more of the showing and
hiding of the overlay on page load.
Thanks.
Charlie Tomlinson wrote:
>
>
> Can you put together a sample page link with your modal and give
that's correct. The tricky part is that you are working in a Joomla
module, and the parameters would not be displayed in module manager
without modifying the admin portions of the extension as well
Chris wrote:
hi charlie,
first of all, many thanks for your reply on my questions.
i tried
I just use a bunch of virtual machines in Virtualbox.
I find that running IE in wine like you are doing has issues. And IE is
basically the only browser I test multiple versions from. For all others
I just test the latest one.
Jonathan
osu wrote:
Hi John,
Thanks for doing that, much apprec
Hi John,
Thanks for doing that, much appreciated. I think it was a glitch at
work - seems to be working everywhere else (I develop on a Mac, so
Safari 3/4, FF 2/3 and Internet Explorer 6 using ie4osx).
Is there an easy way to check all browsers at once? I'm finding it a
real pain trying to keep
Can you put together a sample page link with your modal and give a
better description of what you mean by button="off". Does this mean
disabled, or css change? Seeing what you are working with would make
finding the solution much easier
Takaya213 wrote:
Hi Can anybody help me please?
Tha
Hello,
I want to find full width of all elements in one div. Here is example
code:
text
text
text
text
$("#scroller p").each(
function(i){
var elSize = $(this).width();});
I need total width of all :-)
Thanks in advance
Thank you! Worked via the global ajax settings.
On Jul 3, 3:06 am, James wrote:
> There's an option to set cache to false for tabs.
> $('.selector').tabs({ cache: false });
>
> Also, set your cache in AJAX options to false so the AJAX requests are
> not cached.http://docs.jquery.com/Ajax/jQuery.
a simple table 10*200, based on the one on
the plugin page leaks 1.3mB on every page refresh in IE6.
I have tried unsuccessfully to fix this in about 1000 different
ways.
Has anybody else experienced this? Has anybody a fix/suggestions on
how to fix this?
thanks,
Pierce
hi charlie,
first of all, many thanks for your reply on my questions.
i tried out several settings with the animation param, but didn't get
(as you said the is no option in-code) slideUp to work.
so, if i understood you correctly - there would be a modification of
hideSuperfishUI() necessary, t
I see the post request, but it is not ajax: the header is missing,
and it is not listed in XHR section in firebug.
Is there another way of disabling the submit action and turning it
into ajax request? maybe that's my problem?
On Jul 3, 3:26 am, James wrote:
> Earlier when you said:
> I have use
Thanks again Charlie,
Have done as you've said but still no luck.
I've placed the script file referencing to the 'prototype library'
above the below as you described.
// Use Prototype with $(...), etc.
$('someid').hide();
The relevant parts of the page head now look like this:
I also read about using $ or j if you're variable stores a jQuery
object.
Maybe this might sound stupid, but what if you first do something like
this:
var $showFeedback = $('#showFeedback' +spanIdNo);
(or var jShowFeedback = $('#showFeedback' +spanIdNo); respectively)
And if you then want to s
I re-ran the test now.
test('#content a.submit');
test('a.submit');
test('.submit');
test('("#content").find("a.submit")');
Basically I get the same result: for my pages (!) element.MyClass has
the best average performance.
I guess it's as Karl mentioned earlier: "If the selectors aren't
causin
@Karl: o, that was a serious c&p "bug"... :) I was aware that IE6
and 7 don't support getElementsByClassName (see my initial message),
still the results of my first test showed similar results for the
class selector. I hope I didn't have another c&p bug in there... ;)
@Mike: the pages I'm wor
Hi Can anybody help me please?
Thanks
--
View this message in context:
http://www.nabble.com/Div-and-Button-display-as-active-and-open-only-on-certain-pages-tp24286826s27240p24318591.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
86 matches
Mail list logo