I new that was to good to be true... well moving on to a new view
There has to be a way to capture the HTTP requests ... I think I've
seen URL rewrites with javascript... so may-be I could have it so that
it's more like this... if HTPP request is in array die else execute
and push URL to
thanks, sry for mistake
Well, thanks, but it turns out that it does exactly the same as my own
function.
If I have a div above it with a SET TOP position, e.g. css: top:0; -
or whatever - it works.
But if I don't have nothing but a bunch of br/ tags above the div,
or if I set the div above to psition:relative and remove
Just guessing, but you're using animations in a ready handler before
the page is visible. Can you try it in a .load() handler and see if it
works in IE6?
Also, I thought IE6 needed cursor:hand instead of cursor:pointer.
What part of this works and what part doesn't in IE6? Do you have a
demo
Hello everyone,
I'm uploading some images with AJAX (using ajaxfileupload), with a for
loop I upload more than one image...
It works very well but I've got an issue under IE7...
After that the images have been uploaded the paths in the input fields
are deleted!!!
This does not happen on FF2/3,
Hi,
Thanks for your help! The code is amazing, but I have some issue:
1. Please visit this page: http://progra.ro/zoliky/slide2.html and put
the mouse on link, don't move the mouse until slide is finished!
2. The mouse pointer change to finger and normal pointer like a loop.
Is possible to
Well, I managed to solve it.
Using option relativeTo for the offset and setting the relativeTo to
use my header div that is always present, and always absolutely
positioned at top:0;
Now I have a div that takes up whatever space is left down to bottom
of viewport, just like I wanted. Thanks for
I have a unordered list of, say, ten items. I want to initially show
five items and provide the user with a plus and minus key to either
increase or decrease the number of viewable items. This is commonly
done in expandable content boxes and can be seen on sites such as
http://www.bbc.co.uk
I am
I am wondering how can I do like this,
http://davidwalsh.name/dw-content/smooth-scroll.php,
with jquery.
What I want to do is that a smooth move when I click an anchor within
a page.
Can anyone help me please?
Hi,
I'm coding an RTL'ed Hebrew website for a client,
The menu in this website is designed to be a vertical dropdown menu.
Just like in this plugin:
http://users.tpg.com.au/j_birch/plugins/superfish/#examples
(the vertical example)
The problem is that I couldn't turn Superfish into RTL view (so
I'm trying to find a javascript leaderboard script. I've seen this done many
times in Flash, but I would prefer to do it in Javascript/jQuery if
possible.
Here is an example of what I'm talking about:
http://www.nabble.com/file/p19739832/leaderboard.gif
Do you guys have any suggestions?
If I do this with CLone then all my prossesing is with the clone but I
need to have a selector in the Original one not in the Clone so
changing and modifying the clone is not necessary ,the only way is get
a Clone of THe Span Then Remove the Span and then get the content of
the P do some changes
i had to change the css, actually does'nt work with ie
now works and is:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
script src=http://code.jquery.com/jquery-latest.js;/script
why not show some sample html?
it *sounds* like you have
form
input id=form1:field1 /
input id=form1:field2 /
/form
form
input id=form2:field1 /
input id=form2:field2 /
/form
form
input id=form3:field1 /
input id=form3:field2 /
/form
and you want all field1-s?
On
This help to get the idea of what could be done?
http://paste.pocoo.org/show/86584/
On Sep 30, 1:19 am, Wayne Dyck [EMAIL PROTECTED] wrote:
I have a unordered list of, say, ten items. I want to initially show
five items and provide the user with a plus and minus key to either
increase or
* Announcement to anyone using the Multiple File Upload plugin *
A new version is available which fixes a major bug in IE6/7.
Download it here:
http://www.fyneworks.com/jquery/multiple-file-upload/
Official project page: (for download/support)
http://code.google.com/p/jquery-multifile-plugin/
Great! Thanks for your help!
Is possible to change the direction ? Something like this menu :
www.antena1.ro ? i need to start at bottom and show gradually until
top.
Now the script start at bottom but remove the color until top.. I need
to start at bottom and add the color :)
On Sep 30, 3:19
Hi there,
I made some changes to the script, and now is:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
script src=http://code.jquery.com/jquery-latest.js;/script
script
MorningZ, thank you very much! That is perfect and will do nicely to
get me started in the right direction. I wasn't sure if I needed to
assign unique ids to the individual li items or not and your example
shows me I can do it without them. Very cool.
Thanks, again.
Wayne
On Sep 30, 6:03 am,
The argument was missing at the end:
$.fn._text = $.fn.text;
$.fn.text = function( toTextNode ) {
if( toTextNode === true )
return
this.pushStack( [ document.createTextNode( this._text() ) ] );
return this._text( toTextNode );
}
On Sep 30, 3:46 pm, Balazs Endresz [EMAIL PROTECTED]
Here is a nice plugin: http://demos.flesler.com/jquery/scrollTo/
On 30 Sep., 09:05, elvisparsley [EMAIL PROTECTED] wrote:
I am wondering how can I do like this,
http://davidwalsh.name/dw-content/smooth-scroll.php,
with jquery.
What I want to do is that a smooth move when I click an anchor
hello,
you should check out Ariel's scrollTo plugin:
http://demos.flesler.com/jquery/scrollTo/
Alexandre Plennevaux
LAb[au]
http://www.lab-au.com
On Tue, Sep 30, 2008 at 9:05 AM, elvisparsley [EMAIL PROTECTED] wrote:
I am wondering how can I do like this,
I have a scenario where I am using the jQuery UI tabs via ajax. The problem
I am running into is that with this code:
$().ready(function() {
$('#tabs ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });
$('#dialog').jqm({ajax: '@href', trigger: 'a.details'});
});
I am binding
Thanks for the help guys!
I have been looking at some of these ready-made scripts but my rounded
corners have a particular design (if you can believe that).
Anyway... I have now become obsessed with knowing how to do this. Its
like spending the whole day washing your car and then you decide to
Greetings,
If I have a select multiple set up with say 10 items, and I am making a pass
over them from a call to a database that returns some of those values (more
than one), how can I check to see if an option in the select is one of the
items returned from the database and select it also?
Hi,
I've build the following array using all the element in this.parent
which have a class '.RepeatedItemElement' :
this.elements = $(.RepeatedItemElement, this.parent);
Now I want to query this array and get the innerHTML of the element
which has id='headline'. I've tried the following:
Hello,
I want to share my game, that I made when I was bored. This is web
browser game similar to cubic rubic. I did not find such a game, so I
named it Coloxy (color, x-axis, y-axis). Well, this is a logical game
Cube-like game (or The Magic of cubic RUBIC). In 5 boxes you have to
make one kind
Ok, how about something to the effect of:
$(p).each(function() { $
(this).children(:not(span)).css({color:red}); });
On Sep 30, 8:12 am, [EMAIL PROTECTED] wrote:
If I do this with CLone then all my prossesing is with the clone but I
need to have a selector in the Original one not in the Clone
An ID has to be uniq so you can just do that:
$(#headline).html();
On 30 Sep., 15:40, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
I've build the following array using all the element in this.parent
which have a class '.RepeatedItemElement' :
this.elements = $(.RepeatedItemElement,
You made me think about confusing the maintainers :)
This would certainly do that but wouldn't break any code:
$.fn._text = $.fn.text;
$.fn.text = function( toTextNode ) {
if( toTextNode === true )
return
this.pushStack( [ document.createTextNode( this._text() ) ] );
return this._text();
Take a look at this.. http://www.pirolab.it/piro_09/slide.html
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
script src=http://code.jquery.com/jquery-latest.js;/script
script
I was expecting this kind of answer ! :)
Could you ignore the fact that it has to be unique, let's say I want
to query on another attribute. And I want the query to limit the
search to the elements in my Array.
How do I do that ?
On 30 sep, 15:37, BB [EMAIL PROTECTED] wrote:
An ID has to be
Always IE(fu#g browser) you have to add at the css rule #headernav ul li:
position:relative;
and it works with ie too
diego
--- Mar 30/9/08, diego valobra [EMAIL PROTECTED] ha scritto:
Da: diego valobra [EMAIL PROTECTED]
Oggetto: [jQuery] Show image gradually
A: jquery-en@googlegroups.com
Maybe you can take a look at this plugin, it seems that is what are you
looking for:
http://snook.ca/technical/jquery-bg/
bye
--
gianiaz.net - web solutions
p.le bertacchi 66, 23100 sondrio (so) - italy
+39 347 7196482
for example if you bind something to that ID only the first one will
work. so yeah i suggest either using classes or even prefixing the id
so you can access them all with 1 selector $(div[id^=prefix_]) this
is also similar to the valid CSS to style it (using selectors- but
unfortunately it wont
Ciao Giovanni, some times it's good to understand the basic function of jQuery
without using plugins..that's what i was trying to do :) if u never study u
never lern!!
regards
Diego
--- Mar 30/9/08, Giovanni Battista Lenoci [EMAIL PROTECTED] ha scritto:
Da: Giovanni Battista Lenoci [EMAIL
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F
If you choose to use rebinding, you would use the tabs load callback
for that.
$('#tabs ul').tabs({
fx: { height: 'toggle', opacity: 'toggle' },
load: function(e, ui) {
//
Hi Prajwala,
thanks for your feedback!
displayData(); ist not the problem as far as I've figured out, since
it's not even executed. The problem is that displayData() is not
called, even though the Ajax Request was executed successfully. Thanks
to you debugger hint I was able to pinpoint the
diego valobra ha scritto:
Ciao Giovanni, some times it's good to understand the basic function
of jQuery without using plugins..that's what i was trying to do :) if
u never study u never lern!!
Ciao Diego, first of all I agree with you. :-)
but... if it is only an exercise.
in the
Thanks .. I'll check it out.
Sorry for late replay.
Too much work :-(
Ciao Giovanni, happy that u think the same of me..
have you seen this http://www.pirolab.it/piro_09/slide.html
no plugins, just jquery 1.2.6
that's it..
I've seen the plugin you linked and it's really compact, Alexander Farkas has
done a nice work :)
Diego
--- Mar 30/9/08, Giovanni Battista
jQuery( expression, [context] )
Note the optional context parameter. So, you can do this:
$([attrib='value'], this.elements).each( function()
{ console.log(this); } );
On Sep 30, 10:51 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I was expecting this kind of answer ! :)
Could you ignore
Excuse my rather... verbose response. This should work for you, and is
simpler:
$([attrib='value'], this.elements).html();
Although, now that I re-read your first post, it seems that you
already know about the optional context parameter. I don't understand
how this was a problem for you.
On
hi ,
I am getting this error in Firefox 3.0.2 fire bug console :
too much recursion /misc/jquery.js Line 2
after some searching i found that it may be because of the jason
library used ..
can any one tell me how do i fix it ..
In IE i got an alert saying that Stack Overflow at line [line 1]
So here's the situation:
I have a page that could potentially contain a massive amount of
data. To try to decrease initial load time, I've broken it all out
into nice chunks that get loaded via ajax. This works great. Some of
the chunks need to appear as if they are their own page. To save
I have the following code that works in firefox and google chrome
using jquery 1.2.6.
function setUpClient()
{
$.post(http://localhost/gestivov2/include/ajax/getclients.php;, {},
function(data){
$('#left_items').empty();
//alert(data);
Could it have something to do with the fact that each id starts with
edit-? When I try it with manually created markup, changing or
removing the dashes doesn't help, but removing the edit- part does.
Is there a workaround possible?
Thanks,
Jeroen
On 29 sep, 00:06, Jeroen Coumans [EMAIL
It didn't work Cause the Text isn't concern as a Children and it is in
No Tag area so when we call $(this).children it returns only the
Span and if we do $(this).children(:not(span)) it returns NULL ...
so Equally. what should we do
On Sep 30, 5:34 pm, equallyunequal [EMAIL PROTECTED]
I'm not sure why you are creating the array. If you don't need it for
anything else then you can get at the html in one line:
var test = $('.RepeatedItemElement[id = headline]',
this.parent).html();
On Sep 30, 3:51 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I was expecting this kind of
on 9/30/08 8:17 AM, Klaus Hartl at [EMAIL PROTECTED] wrote:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_workin
g_after_an_AJAX_request.3F
If you choose to use rebinding, you would use the tabs load callback
for that.
$('#tabs ul').tabs({
fx: { height:
So I think this is the ticket... but I really am not to sure on the
how yet...
http://code.google.com/p/urlrewritefilter/
anyone have a sec to help me out with this? thank you
jeremyBass
On Sep 29, 7:37 pm, jeremyBass [EMAIL PROTECTED] wrote:
I new that was to good to be true... well moving
I'm a little concerned by this line:
client = $(client,data).get(id);
I'd recommend putting a var in front so that you have a local, not a
global, variable.
It also seems to me like $(client,data).get(id) is equivalent to
'this' inside the each.
so instead of: client = $(client,data).get(id);
I apologize, I haven't tested this code:
$('p').each( function () {
alert( $(this).contents().not('span').text() );
});
On Sep 30, 12:20 pm, Pedram [EMAIL PROTECTED] wrote:
It didn't work Cause the Text isn't concern as a Children and it is in
No Tag area so when we call
Hi,
I'm trying to create a validation that would ensure that users select
between 1-5 options out of a list of checkboxes with the same name.
For example:
Pick your favorite color (required, maximum of 5 selections).
Is there any way to do this with the validate plugin?
Thanks!
Dear Eric ,
It didn't work
$(this).contents() filters the span so when you configure the code to $
(this).contents().not('span') it returns Null
I wonder how come jQuery doesn't have a something lilke --ignore--
built in forexample .. so we could have ignored all the SPANs !!!
On Sep 30, 8:02
I'm not sure how to do it in a jQuery way. But here's what I came up
with:
$( function(){
$(p).each( function() {
var allButSpan = this.allButSpan = new Array();
$.each(this.childNodes, function(i, node) {
if
I'm using Nial Doherty's coda-slider plugin (http://plugins.jquery.com/
project/Coda-Slider), and trying to tweak it.
I'm creating several instances of the slider on a page. I'd like to
replicate the function of the 'previous' and 'next' buttons, but
inside the content panels themselves.
The
I tried the code without ajax. It works in firefox but not in ie. I modelled
my code on this example from the sitepoint jquery ajax tutorial.
html
head
titleAJAX with jQuery Example/title
script type=text/javascript src=jquery-1.2.6.pack.js/script
script type=text/javascript
jQuery:
script type=text/javascript
$(document).ready(function(){
$('#go').click(function(){
var i = $('#my-form input[name=test]:checked').size();
if (i == 0 || i 5) {
alert('Choose from 1 to 5 options');
}
});
});
/script
HTML:
Right after the script tag with urchin.js. Can the powers that be fix
this, please?
Hi. Nobody can help me with this issue?
I don´t know if is crearly enough:
On the select propertie of the tab I call a function. This works great
with validation plugin, due to it returns true or false without user
action. the problem is when I present a dialog to the user in order to
determine
Woops looks like jQuery blog got hit by a sql-injection attack!
On Sep 30, 2:04 pm, zaadjis [EMAIL PROTECTED] wrote:
Right after the script tag with urchin.js. Can the powers that be fix
this, please?
Hello folks,
I have a page containing a number of forms e.g.
div id=alerts
pa href=# class=ctrl_s[an image]/a/p
form id=f_alert
[various form elements]
/form
/div
div id=whodidit
pa href=# class=ctrl_s[an image]/a/p
form id=f_whodidit
Hi all. I have this very simple content:
tr
td class=rowContent id=902_1200_2008United States/td
/tr
tr
td class=rowContent id=104_500_2008Canada/td
/tr
When user clicks in any row i'll want to display the details about that row.
I'm using this but without success:
Leanan wrote on 9/30/2008 10:10 AM:
How can I make it so that when the user clicks the back button in
their browser, this same thing happens, as I'll likely have people
trying to click the back button instead of the back link on the page
and then tell me it's broken. Is it even possible?
found this... may-be this may help ???
script type=text/javascript
if (navigator.browserLanguage){language=navigator.browserLanguage}
if (navigator.userLanguage){language=navigator.userLanguage}
if (navigator.systemLanguage){language=navigator.systemLanguage}
if
Wow amazing... it worked let me ask you question I think I can do it
with jQuery ..
do you know what does node.nodeType mean in javascript
nodeType=1 what does that mean for each value ?
thanks Pedram
On Sep 30, 8:29 pm, equallyunequal [EMAIL PROTECTED] wrote:
I'm not sure how to do it in a
Try this:
$('.rowContent').click(function(){
var row = this;
$.get(getCountryContent.cfm, { u: row.id }, function(data){
// this == the options for this ajax request
var $conteudo = trim12( data );
alert(Data Loaded: + $conteudo);
$( '#' + row.id ).append( $conteudo );
});
NodeTypeNamed Constant
1 ELEMENT_NODE
2 ATTRIBUTE_NODE
3 TEXT_NODE
4 CDATA_SECTION_NODE
5 ENTITY_REFERENCE_NODE
6 ENTITY_NODE
7 PROCESSING_INSTRUCTION_NODE
8 COMMENT_NODE
9 DOCUMENT_NODE
10 DOCUMENT_TYPE_NODE
11
I might add that you may be able to accomplish the same thing in
'modern' browsers (e.g. not IE6) with just css, using absolute
positioning. Just set your right, left and bottom to, for example,
10px. (IE6 can't handle positioning on 3 sides).
On Sep 30, 11:58 am, rolfsf [EMAIL PROTECTED] wrote:
hmmm, would be more straight up js than jQuery
if you had:
select id=Users selection=multiple
option value=1Bob/option
option value=2Doug/option
option value=3Jake/option
option value=4Steve/option
option value=5Mike/option
option value=6John/option
select
//values from database
Wonderful!!! Thanx
p.s.: to avoid several appended content I used: $( '#' +
this.id + '_injected' ).html('');
On Tue, Sep 30, 2008 at 3:39 PM, BB [EMAIL PROTECTED] wrote:
Try this:
$('.rowContent').click(function(){
var row = this;
$.get(getCountryContent.cfm, { u:
Thanks for your input, your demo is actually working better than what
I came up with, I'm gonna look into it and see if I can use it.
Absolute positioning would normally work but not in my case. This
function is to be a part in a web based user interface for a very
large business application,
Thanks.
I also plan to publish in an article in a scientific journal. Is
there an official publication for JQuery I can cite? Or do I just
site it by URL?
Vince
On Sep 29, 3:11 pm, Andy Matthews [EMAIL PROTECTED] wrote:
Footer link would probably be nice, or a credits page in the footer,
Thanks.
I also plan to publish in an article in a scientific journal. Is
there an official publication for JQuery I can cite? Or do I just
site it by URL?
Vince
On Sep 29, 3:11 pm, Andy Matthews [EMAIL PROTECTED] wrote:
Footer link would probably be nice, or a credits page in the footer,
Hi Prajwala,
Well that kind of worked. I ended up doing this:
data = $(data);
var replace = $('div/div');
data.each( function() {
if (
this.tagName != 'STYLE'
this.tagName != 'SCRIPT'
I am trying to update the tablesorter pager whenever I dynamically add or
delete a row from the table. So far I'm using tips from this post,
http://www.nabble.com/Add-row-and-refresh-tablesorter-with-pager.-td13236775s27240.html#a13236775
I am able to update the table and re-sort when a new row
If you are 100% sure that the span will always come AFTER the text
data, like your example format, you could simply do:
$('#paragraph')[0].childNodes[0];
or
$('p').each(function(){
var data = this.childNodes[0];
});
- ricardo
On Sep 30, 5:34 pm, equallyunequal [EMAIL PROTECTED] wrote:
Hi,
Im using the latest UI rc2 and I am going to use the autocomplete that
comes with Jquery UI 1.6, but I can't find any documentation, I read
it was based on a plugin and i think i should use that documentation,
but don't know which autocomplete plugin it is based on.
Thanks,
Mario
On 30 Sep., 18:25, Steffan A. Cline [EMAIL PROTECTED] wrote:
Thanks for the quick answer! I did realize that the issue was that the items
did not exist at the time of binding. I am new to jQuery and am trying to
understand all the nice amenities we have now in comparison to hand coding
all of
I've got the following as my jquery code:
script type=text/javascript
$(document).ready(function() {
$(.bc-wrapper:empty).(this).parent().addClass(none);
});
/script
And the html is:
div class=bottom-content
div class=bc-wrapper
/div
/div
The css is as
I am really lost now.
I thought you were looking for a way to download your .swf once instead of
starting a bunch of simultaneous downloads for it.
I don't think a clone of mod_rewrite for Java servers would help you at all.
(Is your server code in Java? Even if it is, it wouldn't help - you're
on 9/30/08 2:03 PM, Klaus Hartl at [EMAIL PROTECTED] wrote:
On 30 Sep., 18:25, Steffan A. Cline [EMAIL PROTECTED] wrote:
Thanks for the quick answer! I did realize that the issue was that the items
did not exist at the time of binding. I am new to jQuery and am trying to
understand all the
i have an interface that allows user to add chapters and remove any chapter
from within the group. i'm having issues re-calculating the sort order.
currently if user adds four chapters (1,2,3,4), removes 2 and adds two more
the order becomes (1, 3,4,2,3). i know i need to so something with index
Your div.bc-wrapper isn't empty. It has a text node in it because of the
whitespace.
Open Firebug on any page that uses jQuery and switch it to the multiline
console (orange up arrow at the bottom right). Then paste this code in, hit
Ctrl+Enter, and observe the results:
$a = $('divdiv
Hi,
I have a form on my page with id=bindingForm and
name=bindingForm. I am using the latest version of JQuery 1.2.6. I
am trying to serialize a form like so
var paramStr = $('#' + formId).serialize();
where formId contains the value bindingForm. Unfortunately,
paramStr contains the value
Dear folks ,
finally this is what I got
$(p).each(function(){
if(this.childNodes[0].nodeName.toLowerCase() !=span)
var newNode=$(this.childNodes[0]).wrap(b/);
newNode.css('color','red');
});
this is the shortest code , basically you can not treat as a SELECTOR
your problem is coming from (this). just try :
$(.bc-wrapper:empty).parent().addClass(none);
On Sep 30, 2:09 pm, Vinoj [EMAIL PROTECTED] wrote:
I've got the following as my jquery code:
script type=text/javascript
$(document).ready(function() {
Ricardo,
I am a bit new at using jQuery so this could be an inane question:
Is the 'select' applied at the selector? If my control's id is
emplist would the correct syntax be:
$('#emplist select').val(empSelected);
empSelected, in this case, is a variable containing the value I want
to set the
lol... sorry After I read through again... I totally missed the java
server part... but on the other... I posted in the wrong spot... sorry
about that...
I thought you were looking for a way to download your .swf once instead of
starting a bunch of simultaneous downloads for it.
that is what I
@Michael Geary -- Thanks, now I get it. But the code is being output
by a CMS, which has some whitespace that is output. So then truncate
the whitespace?
@FrenchilNLA -- It seemed to make sense, but this didn't work as long
as I had that extra space. Once I took out the whitespace that Michael
I've got the superfish menus and animation working on the following
site: http://beta.adriandominicans.org/
However, the MouseOut delay isn't working on IE6/7/8. It seems that
all animations except the MouseOut delay work.
Any theories?
Thanks,
Dave
Hello,
First of all, thank you for reading my post. I have been trying to
resolve this issue for the past 2 weeks trying different things. Let
me get right into my problem, but before explaining the problem, let
me share my objective and then go on from there.
Test Link:
I have change this in the code the hover to click
$('li:has(ul)',this)[($.fn.hoverIntent !o.disableHI) ?
'hoverIntent' : 'click'](over,out).each(function() {
if (o.autoArrows) addArrow(
$('a:first-child',this) );
})
I want to always use
filter() is your friend.
You can make a nice little plugin to do this:
jQuery.fn.inRange = function( min, max ) {
return this.filter( function() {
var value = +this.innerHTML;
return value = minvalue = max;
});
};
And then you can write code
its tough to diagnose without knowing what your variable html
returned by the $.ajax call is
but working up an example trying to simulate it, this works as
expected items stay in order of adding plus the ol items adjust
their indexes automatically
http://paste.pocoo.org/show/86671/
On
Are you using the JSON library from json.org? If so, make sure it's
the json2.js one, rather than the earlier, and slightly broken, one.
http://www.json.org/js.html
Karl Rudd
On Wed, Oct 1, 2008 at 1:46 AM, ♫ cheskonov [EMAIL PROTECTED] wrote:
hi ,
I am getting this error in Firefox 3.0.2
variable html is this php file:
?php
$x=$_GET['chapter-number'];
echo EOS
li id=chapter-$x-containerh4Chapter $x Remove Chapter/h4
ol
li
label for=chap-$x-titleChapter Title:/label
input type=text name=chap-$x-title id=chap-title /
/li
li
label for=chap-$x-web-descripChapter Web
How does jQuery select classes, psuedo-classes, and IDs? What are the
actual components of the source behind this? Please, do not respond
with how I would use the jQuery class selection functionality.
Olreich wrote:
How does jQuery select classes, psuedo-classes, and IDs? What are the
actual components of the source behind this? Please, do not respond
with how I would use the jQuery class selection functionality.
The source code is readily available, and quite informative. If you're
1 - 100 of 117 matches
Mail list logo