Please, can i have any way in jQuery to just by specifying id like
(#phone) to get form:id ...
On Sep 25, 6:28 pm, Faisal Basra [EMAIL PROTECTED] wrote:
Hi, I am unable to select the input filed based on ID, i am using JSF
and that append form id with the input id automatically.
Thanks for the advice, that's pretty much what i thought but it's not
happening...
I can log in to the old plugins page (the one that says at the top
that the plugins page has been moved), but when I go to the new
plugins page I am not logged in and when I try to log in it says my
Hello folks,
I want to dynamically update a parameter value when using jEditable.
The following function loads a div on the current page with new
content relating to an item ID of fID (selected from a list of items
in another div on the page). I then use jEditable to allow the user
to
lookup the .rules method in the documentation :)
On Sep 28, 8:52 pm, Wokkel [EMAIL PROTECTED] wrote:
Hi all,
I am successfully using the validation plug in and i would like a
request to make it more easier to have a form in several different
divs for a multi step layout.
I solved a multi
perhaps:
var $c = $('#content');
$('#footer').css({
height: $c[0].offsetTop + $c[0].offsetHeight + 5
});
Filipe Avila wrote:
hey, everyone. how can i get the height of an element and, based on its
given height, set the position of another element from the top? for
example, if there's too
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F
--Klaus
jcokos schrieb:
Wierd Scenario for you
Take the following basic bit of code:
script language='javascript'
$(document).ready(function() {
var
I'm so it is be cahced but the HTTP requests on the dead download is
still high... I'm not sure how to stop it frm makeing the requests
sice the first time it runs through the functions it has downloaded
the swf so no need to make a new HTTP request... any ideas on this?
On Sep 28, 10:56 am,
Thanks for the reply.
What I would like to do is to reduce the page´s mark-up in general
because there are going to be more-or-less 7-8 of these boxes on the
home page (excluding the other content. These boxes have rounded
corners, hence the empty tr, tl, bl, br divs. What I would like to do
is
Hi Robert,
Adding Flash to a document is surprisingly hard. I'm glad Flash TML
worked for you.
Let me know if you or the community would like a port of the library
for JQuery?
On a secondary note, if you need something for detection checkout:
I have to make a puzzle game. here it is the html:
div id=dropContent2/div
div id=dropContent
img id=box1 class=handle src=./i/01.jpg alt= /
img id=box2 class=handle src=./i/02.jpg alt= /
img id=box3 class=handle src=./i/03.jpg alt= /
img id=box4 class=handle
thanks alot for explaining with more detail I will implement your code
it makes more sense and it's more practical
I got my initial code working aswell, but as you said it won't work
with javascript turned off.
here it is anyway, it might help other people.
$('a').click(function()
Have you tried giving the splitter a css rule like this: * html
div#myTestSplitter { height:100%;}
Not sure why you would want to have a slitter that is 100% in height
though.
Q.
On Sep 29, 9:13 am, alee amin [EMAIL PROTECTED]
wrote:
Hi,
I have a strange problem that exists only in IE.
On Sep 29, 2008, at 11:55 AM, Bruce MacKay wrote:
The following function loads a div on the current page with new
content relating to an item ID of fID (selected from a list of items
in another div on the page). I then use jEditable to allow the user
to update the content of that item.
did you bother to read the previous replies??
both have the answer (and similar examples)
On Sep 29, 2:40 am, Faisal Basra [EMAIL PROTECTED] wrote:
Please, can i have any way in jQuery to just by specifying id like
(#phone) to get form:id ...
On Sep 25, 6:28 pm, Faisal Basra
To start with, use a tool like Firebug (for Firefox) or Fiddler (for
IE) to make sure the code is seeing the right URL
Second, dealing with a NET web service is a little tricky... if you
head over to Rick Strahl's blog, he has an excellent posts with talk
and examples of using jQuery against
Anybody here tried to integrate this plugin with jsf?
Using ajax?autocompletes with dependencies (one complete the content
of the one other).
Hello guys,
I'd like to know if there is any limitation with autocomplete plugin
about the max size.
I changed max attribute and it doesn't work.When I have a list grater
than 1400 elements the autocomplete doesn't works.
any body has this problem?
You can do like
$('[id=test:name]')
That is attribute search.
cheers,
Prajwala
On Mon, Sep 29, 2008 at 12:10 PM, Faisal Basra [EMAIL PROTECTED]wrote:
Please, can i have any way in jQuery to just by specifying id like
(#phone) to get form:id ...
On Sep 25, 6:28 pm, Faisal Basra
Beautiful! Thank you very much, Alex and BB.
On Sep 28, 7:32 am, BB [EMAIL PROTECTED] wrote:
$(#fruits option:selected).get(0).index
You Sir are a genius! Thank you so much :)
On Sep 27, 5:00 am, ricardobeat [EMAIL PROTECTED] wrote:
Ok. Your instance of jQuery is living in the parent window, so you
need to reference it from inside the pop-up.
Use this inside your pop-up code:
script type=text/javascript
$ =
If it helps, I believe this is the source code for the scrollTop
method but I can't quite decipher what's going on. Could someone
interpret it for me, just to tell me what the value means that it
returns when it acts on a div?
// Create scrollLeft and scrollTop methods
jQuery.each( ['Left',
Hi everyone.
I'm trying to set the height of an element with jquery depending on
the window height, and on the elements own position in the document.
Using dimensions, I've so far come up with this:
The element is a div with class .tableHolder, and I want it to get a
fixed height, starting from
Hi,
I am a newbie here so maybe my problem is not problem at all, but here
is problem what i just got. I want to select an image element by its
id and this id is quite complicated (do not ask me why). Here is the
jQuery code for that:
var id = 'sec_ruler_widget_seclevel[' + checkElementId +
Hi Jorn thanks for responding. I tried using the minified version of
jquery but it didnt solve the problem. the menu is in the generated
source code of www.bdct.nhs.uk (its a php includes file) I didnt think
that it would be too big.
Hi,
look here at the bottom:
http://docs.jquery.com/Selectors
you may try something like this:
var id = 'sec_ruler_widget_seclevel\\[' + checkElementId + '\\]';
var pic = $('#' + id)[0];
On 29 Sep., 15:03, Misha [EMAIL PROTECTED] wrote:
Hi,
I am a newbie here so maybe my problem is not
Hi,
don't know if it'll help you but I use:
//get the width of the window
var variable1 = document.documentElement.clientWidth;
//get the height of the window
var variable2 = document.documentElement.clientHeight;
//get the scroll position (top) -- scrollLeft is possible too
var variable3 =
On Sep 28, 10:54 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
How can I detect when the user has scrolled near the end of a div with
a scroll bar so that I can add more content?
I tried something like this:
$('div#content').scroll(function(){
if
jQuery Day was a grand success.
It was great meeting so many people. Thank you to the organizers and
the speakers!
-BluegrassBBQ
On Sep 4, 2:29 pm, Rey Bango [EMAIL PROTECTED] wrote:
Yep. It will be at MIT. We'll be putting out address details soon.
Rey
MorningZ wrote:
Good deal..
Hi,
I'm using the jQuery Form Plugin to submit my form (#load), which then
loads data from the server. Heres the JS:
jQuery().ready(function() {
// ... some code
jQuery(#load).ajaxForm({
dataType: json,
success: function(data) {
This should work:
var clone = $(p).clone();
clone.find(span).remove();
clone.each( function() { console.log(this) } );
On Sep 28, 2:13 pm, [EMAIL PROTECTED] wrote:
Hi Guys,
this is the Code which I am working on
p
Data which I need to select and it hasn't an attribute
span Data in
Hi miki,
Would you mind posting this question to the jquery-ui google group if
you haven't done so already? That group is dedicated to questions such
as yours that are specifically related to jQuery UI.
http://groups.google.com/group/jquery-ui/
Thanks,
--Karl
Karl Swedberg
Well, the $(window).height() gets the height for me.
What I need is something to measure the distance from the window top
and down to the element top.
And then subtract it from the window height, minus another 20 pix ad
use that value as height for the div.
If the window is 1000 px high, and
Hey dan_nl,
You were right to point me in the direction of the content type.
Turns out I wasn't setting the content type of the http response to
text/xml, so jQuery was interpreting my response as html. A lot of
other things were working, but since CDATA isn't valid in html, jQuery
was
Dear sir my solution was wrong I could not work with the CLone of a
p ... so it's a dead case
in your solution I will lose the content of the SPan !!!
unless We store the content of the Span in a temp variable and then
replace it again with it
!!
On Sep 28, 11:17 pm, Mauricio \(Maujor\) Samy
BluegrassBBQ
that makes sense after meeting you yesterday in person, heh
great event, i look forward to the next
On Sep 29, 10:20 am, Eric [EMAIL PROTECTED] wrote:
jQuery Day was a grand success.
It was great meeting so many people. Thank you to the organizers and
the speakers!
Hi,
i am a new customer in jQuery so the following may sound stupid .. the
problem i am facing is as bellow:
I am working in a site where i am dealing with multiple forms having
same id and every this .. all the forms contain some radio buttons (no
of buttons may vary) and one submit button ..
First of all, the star rating plugin is great. I think I need some
help with my use of it perhaps. I've got some performance issues
regarding the rendering of the page.
The problem is that when the page is waiting on some images to finish
loading, the jQuery has already run and converted the
I may have phrased it poorly, but, for my needs, the livequery
function would probably work. However, any method that I try still
seems to be binding the jEditable onto both the clone and the
original. That is, if I click on the clone to edit it, it opens
jEditable forms on both the original and
On Sep 29, 2008, at 7:30 PM, Wayne wrote:
Here's an example that I cut out of the project:
http://dev.ficclaims.com/perf/proj/test.php
When you click the link to Add another baseline that's when the
clone will be made, and you can see how it works from there. The way I
understand it,
You're not supposed to have the same id for any two elements in an
HTML document, as far as I know.
On Sep 29, 9:40 am, ♫ cheskonov [EMAIL PROTECTED] wrote:
Hi,
i am a new customer in jQuery so the following may sound stupid .. the
problem i am facing is as bellow:
I am working in a site
Hello Mike,
I'm not sure if this is the key - if it is, then I don't know how to
implement it.
The getDashItem function does fire after the first cycle - new
content is loaded. The problem is that the fID value is not updating
in the jEditable piece of the function.
I also know the fID
ya i know that. but i m dealing with drupal where i am facing this problem.
its a polling section where i need to submit votes using AJAX ( thats where
i am using jQuery )
On Mon, Sep 29, 2008 at 11:50 PM, chadmichael [EMAIL PROTECTED]wrote:
You're not supposed to have the same id for any two
I am searching the web and documentation and still can't find a
working solution.
I have a table which rows has also id with metadata, for example tr
data={id:4}
And now I want to select row with id 4. I was trying many ways but no
success for now. For example:
$.metadata.setType(attr, data)
Hello,
I'm trying to make a div give me a nice loading graphic on top of my
data so the user knows the page is working on their request.
I have the following code, however it seems it either happens to
quickly or the event isn't working as expected.
\$(#query_button).click(function(){
Hi everyone,
I am attempting to implement Superfish for the first time and I'm
having some problems with IE6 (big surprise!). When I disable
javascript to test the css-only version in IE6, the submenus simply do
not show up. I figured I must have broken something when I modified
the css for my
Hello all,
I have a webapp displaying email which can sometimes contain HTML
message bodies. I use jquery's .ajax method to grab an HTML message
body and then put it into a div tag. Problem is if the HMTL contains
style or script tags I get unwanted results.
I've tried $( html ).find( 'style'
Hello all,
I have a webapp displaying email which can sometimes contain HTML
message bodies. I use jquery's .ajax method to grab an HTML message
body and then put it into a div tag. Problem is if the HMTL contains
style or script tags I get unwanted results.
I've tried $( html ).find( 'style'
as far as I know . . multiple id's is not allowed and would make your
page invalid.
On Sep 29, 11:40 am, ♫ cheskonov [EMAIL PROTECTED] wrote:
Hi,
i am a new customer in jQuery so the following may sound stupid .. the
problem i am facing is as bellow:
I am working in a site where i am dealing
For Richard D. Worth message:
^
Yes if user puts the mouse over the box, I want to hide the box
(animated with slide effect) and don't show the box anymore. Now, if
user leave the box, I want to show the box.
I want to use this for menu, something like http://www.antena1.ro/
header menu.
This
Hi all,
I am using JQuery in a web application I plan to publish. How do I
cite JQuery?
Thanks.
Vince
Is it valid to have many forms in same ID. but u can have save name for
different forms
regards
PGD
On Mon, Sep 29, 2008 at 9:10 PM, ♫ cheskonov [EMAIL PROTECTED]wrote:
Hi,
i am a new customer in jQuery so the following may sound stupid .. the
problem i am facing is as bellow:
I am working
hi thanx for ur reply
the problem is i am dealing with a site where i drupal is creating those
forms ... they dont have a name in them ... in brief the way drupal do it is
: it creates an array of all the required elements then it render those
elements to display the form..
my issue is , suppose
HI Donkeybob
can u please tell me what do u mean by invalid page ? r u saying it wont be
a valid HTML page ??
On Mon, Sep 29, 2008 at 10:26 PM, Donkeybob [EMAIL PROTECTED] wrote:
as far as I know . . multiple id's is not allowed and would make your
page invalid.
On Sep 29, 11:40 am, ♫
On Sep 29, 1:25 pm, Mika Tuupola [EMAIL PROTECTED] wrote:
In layman's terms. After clicking baseline the new item is still
editable, but the problem is when triggering the event it also makes
not only the clicked element but also previous element editable.
Is this your problem?
Right,
Footer link would probably be nice, or a credits page in the footer, or
even in your source code.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of forgetta
Sent: Monday, September 29, 2008 10:16 AM
To: jQuery (English)
Subject: [jQuery] cite
as i m very new to jQuery i can't figure out what exactly ur code does ..
but to be simple if u have an tr with id = ''my_tr the following code sould
let u select the tr :
$('#my_tr').css({do some thing})
On Mon, Sep 29, 2008 at 10:53 PM, me-and-jQuery [EMAIL PROTECTED]wrote:
I am searching
try this:
var wh = $(window).height();// window height
var mt = $('#myDiv').offset().top; // top position
of #myDiv
$(mt).css('height', wh - mt - 20 + 'px'); // set height
of #myDiv
On Sep 29, 8:33 am,
Yes i know what you mean with add you can add a validation element and
the manual states Adds to an element which is already required.. So
you can add validation rules to an existing element. But I want a new
set of validation rules. For instance you have DIV1 with name, e-mail
and DIV2 with
Hello,
I'm trying to figure out how to make this happen. Once a user clicks
on a request, it shows the div, which has a background set to a
loading image. From there, once the request is completed, set the div
back to display: none with hide.
Here is my code:
\$('html').click(function(e) {
Thanks a lot, i will try this.
If my data set has English and the user enters english is this a
warning in mustMatch is it case sensitive?
Also should the end user press enter if the user continues to type
English is it captured as an Onblur or Onchange event. Today we have
activated onblur.
yo2lux,
When you hide the box with
$('.image').hide(slide, { direction: left }, 1000);
The user is leaving the box, because it is hidden!
Then the unhide animation triggers because the user has left the
box:
$('.image').show(slide, { direction: left }, 1000);
When this happens, the box
If I understand this - you are trying add the class 'grid-loading'
when the button is clicked and remove it when the query completes.
If so, then the removeClass command needs to be in the callback
function of the .load command.
Paul
On Sep 29, 4:11 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
You can use the attribute filters:
$('table tr[data*=id:4]')
http://docs.jquery.com/Selectors
- ricardo
On Sep 29, 2:23 pm, me-and-jQuery [EMAIL PROTECTED] wrote:
I am searching the web and documentation and still can't find a
working solution.
I have a table which rows has also id with
I know what your saying, but my javascript skills are not that great.
I've changed my code a bit more to look something like this:
\$('html').click(function(e) {
if ( \$(e.target).is('#query_button') ){
\$(#loading).toggle();
var store =
Try this:
$(#query).load('content.cgi', {storeselect: store, deptselect:dept,
invoiceselect: invoice}, function() {
$(#loading).toggle();
});
On 29 Sep., 23:03, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I know what your saying, but my javascript skills are not that great.
I've changed my
Yes! Thanks very much. That was what I was looking for. And, thanks
for the clarification of what $(#id) was actually doing. I
*assumed* it was a single element, not a collection although I should
have gathered that from seeing the [0] reference in Firebug.
On Sep 25, 6:22 pm, equallyunequal
I have an element that I populate with an Ajax call and returns a list
of items for a combo box. In some cases the page containing the
element gets loaded with existing values and rendered and I'd like the
textbox to contain an item that was selected before the element is
rendered.
Is there a
The previous responses don't seem to get that you're using the metadata
plugin. I would suggest using filter:
$('tr').filter(function() { return $(this).metadata().id == 4; })...
If you find yourself doing that a lot, you can add a custom selector
for metadata. Something like:
I use your code and I have the same problem..
Check your code: http://progra.ro/zoliky/index.html
On Sep 29, 11:37 pm, ricardobeat [EMAIL PROTECTED] wrote:
yo2lux,
When you hide the box with
$('.image').hide(slide, { direction: left }, 1000);
The user is leaving the box, because it is
Thanks ricardo, this one is tricky but it works. :)
Amardeep, I was talking about querying parameters defined with
metadata plugin, not classic DOM id.
On Sep 29, 10:44 pm, ricardobeat [EMAIL PROTECTED] wrote:
You can use the attribute filters:
$('table tr[data*=id:4]')
Hi all I know this is pretty basic stuff and discussed before but Im
having problems simply getting the value of a radio button that is
checked in a group.
For example in the code below why is 's' blank?
// get value for checkbox or radio button that is checked
$([EMAIL
Erik, this is the solution I was looking for. Thanks also for making
test page live.
While we have there two solutions, I did a benchmark for both and here
are the results, just for fun (1000x loop). :)
Ricardo: 2406ms
Erik: 2812ms (with filter)
Thanks again to both of you.
On Sep 30, 12:07
That is probably a float or clear being (or not being) applied
somewhere. If you have floated elements inside a non-floated block
margins don't work.
Why don't you try one of the existent 'rounded corners'
implementations? I haven't had much success with them, but who
knows :)
I am trying to change a select list, and if the user sets it to No,
then a confirm dialog comes up, if they hit cancel, the value will get
set back to Yes.
For some reason it is not working:
$(#metadata_field_text_33100_value).change(function() {
var confirmWeb = confirm(Are
Was that link in your post intended to be a test page? I didn't see a
splitter there.
Do you have a test page?
If you are using a database query to return the elements, is it
possible that the query is limiting the size of the result set?
$('#content')[0].scrollHeight
will give you the inner height of the DIV. When
scrollTop + height = scrollHeight
you are near the end of the DIV. That's a rough calculation: borders,
margins, paddings and the alignment of the planets can affect it.
$.fn.isNearTheEnd = function() {
return
That's doable in CSS in various ways:
#container { padding-bottom:50px; }
#footer { height:50px; position:absolute; bottom:0 }
or with a simple
#footer { clear:both }
will keep the footer under everything else.
- Ricardo
Rene Veerman wrote:
perhaps:
var $c = $('#content');
Oops, sorry, what I meant is that cloning the elements is the best
optimization you can do. It will save you some processing time from
not creating new elements (or maybe not, as jQuery will be re-creating
the clone element), but the HTTP requests will remain.
$('#flash-round-corner-
Fixed the problem. My earlier attempt at unbinding did not work
because I didn't get the syntax correct - now with unbind() the
problem is solved.
Thanks Mike for prompting me to revisit the area.
Cheers,
Bruce
At 07:43 a.m. 30/09/2008, you wrote:
Hello Mike,
I'm not sure if this is
Hmm, the mouseover event still fires for the child element...
Do this:
div class=parent/div
div style=display: block; class=image/div
style
.parent { position:absolute; z-index:5 }
/style
with the same script. Putting one element on top of the other prevents
the onmouseover event from
$('select').val('value') should work (it needs to be applied to the
select, not the option
- ricardo
On Sep 29, 6:55 pm, Pete [EMAIL PROTECTED] wrote:
I have an element that I populate with an Ajax call and returns a list
of items for a combo box. In some cases the page containing the
The '@' at the start of an attribute name has been deprecated. Try
this:
$('input[name=radCateg]').click(function(){
var s = $(this).filter(':checked').val();
alert(s);
});
or this:
$('input[name=radCateg]').click(function(){
if $(this).is(':checked') alert(this.value);
});
-
Now work great! Thanks ! This is what exactly I need
On Sep 30, 2:24 am, ricardobeat [EMAIL PROTECTED] wrote:
Hmm, the mouseover event still fires for the child element...
Do this:
div class=parent/div
div style=display: block; class=image/div
style
.parent { position:absolute;
Thanks ricardobeat. A little bit more info here. The code I put
worked in Firefox. its IE7 that was giving me the problem. I know
about the @ sign being deprecated but I still find at times it wont
work without the @ after input. Either way thanks for the help. I
never thought about using the
The following code works completly in FF but only partially works in
IE6.
The following line executes fine:$(#LHNav ul).hide(); but the
next line:
does not.
$(#LHNav
li:not(:has(a))).css('color','red').css('cursor','pointer').bind(click,
function(){
showHideMenus(this);
});
I
Just to summarize
1. Can you show how to add an external json data, to autopopulate the
select box?
2. If an item is selected in the 'Select Drop down box'
Can we display:
Key Selected :
Value Selected:
Kindly help.
Your code was exactly what i was looking for.
Thanks
On Sep 29, 3:19
The way you have that now, it will *always* show the confirm dialog
regardless of the setting of the select box, then check the return
value of the confirm only if the select is set to No. That doesn't
sound the way you described it.
Also, a suggestion on wording. The dialog would look something
I would use three separate click handlers rather than letting the
events bubble up and handling them at the top-level document. Event
delegation can be useful but it doesn't seem necessary for this case.
I think the real problem is that you are hiding the #loading element
without waiting for the
After glancing over the JS it looks like you are using both live query and
clone(true). Using both is unnecessary and might be the cause of the issue.
Just try using one of the two and see if that resolves your issue.
--
Brandon Aaron
On Mon, Sep 29, 2008 at 2:04 PM, Wayne [EMAIL PROTECTED]
Hi, Morningz I am thankful to your solutions and it really does work
for me.
But, now situation comes like that i have mask against input fields
and i stored them in database. just only input field id and mask. But
no information of FORM.
And, at runtime we don't want to hard code how many
The line:
$(#LHNav ul).hide();
Is working in both FF and IE.
The next line:
$(#LHNav
li:not(:has(a))).css('color','red').css('cursor','pointer').bind(click,
function(){
showHideMenus(this);
});
does not work in IE.
I changed the line that does not work in IE to:
$(#LHNav
On Sep 11, 1:09 pm, Julian [EMAIL PROTECTED] wrote:
anyone?
The way around it is to save the input widget names into the array and
initialize it again after flush.
___Mark Szu
How can i unsubscribe it?
Steve
Let me start off by saying how much I love this plug-in! Let me also
state that I am a designer first and coder second ;)
I am having a difficult time getting this to function in the following
scenario:
I have a Flash file that I am using to display multiple company logos.
The list of logos and
How can I subscribe it?
steve
Hi
I have been trying to use the scrollTo plug in.. but i just can't get
it to work.. can someone please point out where the error is?
This is exactly what I typed:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/
TR/html4/strict.dtd
html
headtitlescroll/title
script
um cant you just do something like $(p:not(span)) ??
On Sep 28, 3:48 pm, equallyunequal [EMAIL PROTECTED] wrote:
This should work:
var clone = $(p).clone();
clone.find(span).remove();
clone.each( function() { console.log(this) } );
On Sep 28, 2:13 pm, [EMAIL PROTECTED] wrote:
Hi Guys,
Hi I've just started using jquery and I'm developing a dynamic site so
I don't need the same code on every page and I'm loading various
different javascript files in based on the page, but nothings working
in IE but it works fine in firefox and safari. I have all the jquery
calls in functions
I'm brand new to jQuery. And, I'm wanting to make something fadeOut
when I hover or mouseover and fadeIn when I mouseout. I tried the two
methods below. But, when I leave the mouse cursor positioned over the
element, I get an unwanted blink effect. It seems that when the
fadeOut() ends, it
1 - 100 of 111 matches
Mail list logo