i m w8ing for your reply
On Jul 1, 10:30 am, naz s.na...@gmail.com wrote:
i have HTMl code like this
select name=itemsToAdd id=right size=8 multiple=multiple
/select
and i m getting its values from database
but when i write
$('#right').val();
it give sme null :(
On Jul 1,
i m w8ing for your reply
On Jul 1, 9:32 am, MorningZ morni...@gmail.com wrote:
Got some HTML to show of the select box?
if you have
select id=right mulitple=multiple
option value=1One/option
option value=2 selected=selectedTwo/option
option value=3
Yes, but in this tree:
ul class=nav
lia href=#/a/li
/ul
both selectors will yield the same results, the point here is
performance.
@north the article is right. Sizzle processes the selector from right
to left, so explicit child relationships and simpler selectors will
make it faster. See for
On Tue, Jun 30, 2009 at 12:31, Alexanderalexanderf...@gmail.com wrote:
I am trying to detect the DOM element on a unkown web page from the
current selected text on that page.
Which means: I select text on a web page and then I would like to get
the dom element to which this text belongs.
Hi Karl,
I recently posted here: http://plugins.jquery.com/node/8405 about an
issue of calling cluetip from a function (see post for extra comment
information)
In the response you created a demo showing how this could be achieved:
http://plugins.learningjquery.com/cluetip/demo/lazyload.html
Thanks for the answers, guys.
I should have done what Ricardo did, and post a small code example.
Using an ID is (probably) always faster than using a class, since it
maps to the native JS method getElementById (even though there are
browsers which also support getElementsByClassName -
Hi,
.fisheyeItem img { width: 90%; }
Works great and does just what I've been looking for. Thanks a lot!
Best regards
Wolfram Rösler
Hi,
this is your code stating a width is 32, then you have img margin as much
as 10, losing 1/3 of space inside a
no need for margin on img
$('#Flags').html(HTML).Fisheye(
{
maxWidth: 48,
items: 'a',
itemsText: 'span',
container: '.fisheyeContainter',
itemWidth: 32,
proximity:
Hi
I have a DIV overlay that I want to show as open only on certain pages but
not on others (it is on all pages). The button that is related to the DIV
must also display as on when the DIV overlay is open and in the off state
when it is closed.
This must happen on page load.
e.g. DIV open,
I just found something that helps me a lot, it's not just a jQuery
property, but a direct property of HTML-elements:
.tagName
So my above workarounds would work as follows.
if (self.tagName == 'IMG') { // --- image ---
// do something
}
if (self.tagName == 'SELECT') { // --- drop down
post a link to page you are working on, or make a test case and put it
in jsbin com.
Morning Z gave you reasons you would get null, so seeing all the code
(html and the rest of script you use for the select) will help resolve
this. Are you sure the option tags created in server code have
what are parameters to determine your "certain pages"? does this
require an involved solution like parsing url or would a simple
solution like adding class to body like "myOverlay" and use that as
selector in code to run overlay functions?
Takaya213 wrote:
Hi
I have a DIV overlay that I
As mentioned in another reply, theObject is an object.
So, building a string with
( + theObject + );
will not give you what you'd expect. If that were to work at all you'd
likely end up with a string of ([Object]) - not what you want.
If you really must do the eval(), then it should be
this was css related but sounds like you got it working in last post
Wolfram Rsler wrote:
Hi,
this is your code stating a width is 32, then you have img margin as much as 10, losing 1/3 of space inside a
no need for margin on img
$('#Flags').html(HTML).Fisheye(
{
maxWidth: 48,
First, this is a mailing list. Not an IRC channel or Instant Messenger.
This means replies can take hours or even days sometimes. Patience is
the keyword here. If you need help with an issue that urgently, try the
##Javascript channel on IRC. The message I am replying to is
timestamped
Dear developers, dear community,
in order to complete my design, I'd like to kindly ask you if there's
a possibility to use JQuery's SlideUp animation within a horizontal
menu created by SuperFish.
I tried to modify the mod_superfishmenu.xml to be able to set
parameters within the animation -
Hi over there,
i integrated the script jCarousel ( http://sorgalla.com/jcarousel/ ),
so i there are 2 errors at sitevalidation.
The site ( http://www.pulverlack-matzen.de/de/oberflaechenveredelung.php
) is using XHTML 1.0 Strict.
The first one, where the carousel is loaded, can be easy
I am using Open PHp chart. It uses a flash object to display charts. I
would like to update this swf object via ajax.
I have a problem accessing the object using jquery selectors:
Here is the HTML code
object id=reportChart ...
//access via pure javascript
Hi, I'm getting sick trying to solve this problem:
I have a web page A that loads another page B using an iframe (or an
object tag), the B page is an external page (it's not on my server)
and contains a form.
I want to be able to auto fill the form with pre-defined values. In
jquery i think
Dear developers, dear community,
in order to complete my design I would like to kindly ask you what I
have do, if i want to a set up a SlideUp effect for Superfish Menu,
using it on a Joomla! installation?
I tried to modify mod_superfishmenu.xml in order to be able, to select
a new option from
If you have a single dropdown list with the id of 'theSelectsID' the
below code should store the selected item into the variable 'str'.
Hope that helps
$(#theSelectsID).change(function () {
var str = ;
str = $(#theSelectsID).val();
});
Posting data from a form using this function:
$(function() {
$('#emailform').submit(function() {
$.ajax({
url: '/post/url/',
dataType: 'json',
data: $('#emailform').serialize(),
success: function(rdata) {
Hi, I'm getting sick trying to solve this problem:
I have a web page A that loads another page B using an iframe (or an
object tag), the B page is an external page (it's not on my server)
and contains a form.
I want to be able to auto fill the form with pre-defined values. In
jquery i think
I have a table which is dynamically created in html. I have pasted an
example below:
table
thead
tr
thTeam/th
thDesignation/th
thName/th
/tr
/thead
tr id=ADM
td class=teamADM/td
/tr
tr class=ADM
td class=desigPartner/td
td class=nameGus/td
/tr
tr class=ADM
td class=desigSolicitor/td
td
Hi,
I have a following Jquery code, as you can see all it does when user
clicks an html link it shows a hidden div (I am using SlideToggle).
The problem is in changing plus icon on minus icon after we clicked on
a link, for example when div is hidden we should show plus, after we
clicked a link
I am using Open PHP chart. It uses a flash object to display charts. I
would like to update this swf object via ajax.
I have a problem accessing the object using jquery selectors:
Here is the HTML code
object id=reportChart ...
//access via pure javascript
Hello
I have a simple jquery selector:
$('[id^=total_item]')
I would like to add a rule so that the upper code would match all
elements that don't have 'locked' class (so that it wouldnt match
those with class='locked').
How should I add this rule to the selector?
Many thanks in advance!
on the function that initiates the ajax call, insert the spinning gif image.
$(div).append('img src=spin.gif width=20 height=20
alt=Loading... class=loading /');
and on the success callback on the ajax function, remove the image
$(div img.loading).remove();
How you add and remove the image
Okay - well here's what I'm really doing. I'm using an ajax upload plugin and
in the callback function, which returns a variable data, I need to parse
it into a JSO so I can use it. Right now it's just a string.
onComplete: function(file, data) {
Hi! So sorry I've been delinquent in following up with that. It is a
very strange bug. It doesn't appear to occur unless you've already
scrolled down quite a bit, right? Honestly, I'm just as confused as
you are about what might be the source of the problem. There isn't
anything in the
The class solution would work fine.
As there is only 1 page that the overlay really needs to be open on and the
button active so a class function would be sufficient.
Charlie Tomlinson wrote:
what are parameters to determine your certain pages? does this
require an involved solution like
using the animation option you can get effects on the opening of sub
menus
example:
jQuery('ul.sf-menu').superfish({animation:{height: "show"},speed :
1000});// produces 1 second slide down effect, use opacity for fades,
margins for positions etc
to reverse for the slideUp there is no
uploadPicture{errors:[This file was already uploaded]}
isn't valid JSON
and even
var JSON = eval((+data+));
resulting in
(uploadPicture{errors:[This file was already uploaded]} )
isn't valid JSON... hence eval() and expecting it to act like an
object is never going to work
On Jul 1, 8:55 am,
$('[id^=total_item]').not('.locked')
introvert wrote:
Hello
I have a simple jquery selector:
$('[id^=total_item]')
I would like to add a rule so that the upper code would match all
elements that don't have 'locked' class (so that it wouldnt match
those with class='locked').
How should
http://labs.makotokw.com/s/jquery/menu
Are planning to use the above menu plugin but need to know how it
works in different browsers, most important IE6/7.
The plugin author says it works in:
Google Chrome 3 (Windows)
Firefox 3 (Windows/Mac)
Safari 4 (Mac)
I have tested it in these, where it
Is it because of the uploadPicture part? Why isn't it valid? Sorry for all
these stupid questions.
--
View this message in context:
http://www.nabble.com/simple-JSON-parse-problem%21%21%21-tp24283450s27240p24289615.html
Sent from the jQuery General Discussion mailing list archive at
online loading gif generator for your image, multiple styles , set your
own colors
http://www.ajaxload.info/
Liam Potter wrote:
on the function that initiates the ajax call, insert the spinning gif
image.
$("div").append('img src="" width="20" height="20"
alt="Loading..."
Yes, it is because of that part
I'd suggest, despite the silly title, reading this blog post
http://blog.archive.jpsykes.com/67/how-to-explain-json-to-your-mum/index.html
On Jul 1, 9:16 am, theozmanbo b.k.osbo...@hotmail.com wrote:
Is it because of the uploadPicture part? Why isn't it valid?
pacodelucia schrieb:
Apparently $(reportChart) is not returning really an SWF object.
Anyone has an idea if this possible with jquery?
This is not a correct Selectot for ID, try so:
//access via jquery
$(#reportChart).reload(charts/genrate_chart.php); // does not work
# for ID, . for CLASS
I am having an odd error where the pager generates links but they
don't change the slide in FF and Safari. The biggest surprise of all
is that it actually works in IE.
Here is the page I am referring to:http://76.12.208.222/
Try this:
#slideshowPage { position: relative: z-index: 100; }
Hello Everybody,
I have rewritten and posted my jquery checkboxTree plugin that I
originally put out a year ago. Tried to add features and options
people were asking for. Information can be found here:
http://floatmargin.com/2009/jquery-checkbox-tree-plugin-new-and-improved/
The github
sorry for the type error. I meant really that
$(#reportChart).reload(charts/genrate_chart.php);
does not work with the # selector.
On Jul 1, 3:51 pm, Olaf Bosch olaf.bo...@t-online.de wrote:
pacodelucia schrieb:
Apparently $(reportChart) is not returning really an SWF object.
Anyone has
Is there really no way? Anyone, please reply.
On Jun 26, 2:20 am, Dman dman...@gmail.com wrote:
bump help please
On Jun 25, 1:16 am, Dman dman...@gmail.com wrote:
Hello,
I am trying to get a html page using GM_xmlhttpRequest, store the html
page code, in a var, and sort some data from
Thanks for the pointer :)!
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Ricardo
Sent: 28 June 2009 20:27
To: jQuery (English)
Subject: [jQuery] Re: Help with some jquery basics
You're trying to set the 'opid' property of opid[0]
Is there an error / typo in the URL being requested ?
Should it be charts/gen_*e*_rate_chart.php ?
L
pacodelucia wrote:
sorry for the type error. I meant really that
$(#reportChart).reload(charts/genrate_chart.php);
does not work with the # selector.
On Jul 1, 3:51 pm, Olaf Bosch
Hi
The code I have written in my post was some how pseuodo code. That is
the reason why it contains so much typing errors. Sorry for that
Here is the code directly copied from my js file:
document.getElementById('reportChart').reload(charts/
pie_chart.php);//works
On Jul 1, 2009, at 6:15 AM, skywalk3r wrote:
Hi, I'm getting sick trying to solve this problem:
I have a web page A that loads another page B using an iframe (or an
object tag), the B page is an external page (it's not on my server)
and contains a form.
I want to be able to auto fill the
there are a number of ways of doing this and make it look a lot cleaner
your problem could be that replaceWith replaces the whole element. Once
you *replace* img#imp_plus001 that ID isn't there anymore so next time
function runs it isn't found and no image change.
Please forgive my inexperience, I am a designer trying to take over the
development!
These 2 sites I created using cross-slide and it doesn't seem to work in
IE7:
http://nirmada.bigrigmedia.com/portfolio/
and
http://horizonrvresorts.bigrigmedia.com/
Please help, THANK YOU!
i try it know with this code, but the problem with double submit of
the form still exists.
I read that I can have so many $(document).ready(function () { }); I
need.
a href=# id=testlinkShow Test/a
div id=tpanlegen style=width: 100%; display: none;
form id=teilprojektcreate
Good to know that there is a plugin for this..!!
- Original Message -
From: Matt W. propel...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, July 01, 2009 8:30 AM
Subject: [jQuery] checkboxTree Plugin
Hello Everybody,
I have rewritten and posted my
Hi,
Charlie solution is very elegant
$(input[id^='chkEvent']).attr(checked,checked);
But I agree that you must use a class in your markup, so it it's the easier way
regards
- Original Message -
From: Charlie
To: jquery-en@googlegroups.com
Sent: Tuesday, June 30, 2009 1:34 PM
Any chance that there are 2 items with id / name reportChart ?
L
pacodelucia wrote:
Hi
The code I have written in my post was some how pseuodo code. That is
the reason why it contains so much typing errors. Sorry for that
Here is the code directly copied from my js file:
This is a FAQ page I built with custom jquery function that toggles
the answers open/closed on click of a question, and Im just wondering
if anyone has a suggestion to make the code leaner and meaner:
http://dfrecruiting.com/faqs
The code:
$(.entry h4).click(function() {
would loading it into a hidden div, pulling what you need from it then
empty the div help?
Dman wrote:
Is there really no way? Anyone, please reply.
On Jun 26, 2:20am, Dman dman...@gmail.com wrote:
bump help please
On Jun 25, 1:16am, Dman dman...@gmail.com wrote:
that is called jsonp. You need to define a function named
uploadPicture that will get called when the response arrives. jQuery
handles that for you if you use the proper method (assuming the
callback name can be set in the request):
$.getJSON('uploadpicture.php?callback=?, {some:'data'},
I've got on site a huge amount of js, 'single' script. What I want to
do is to pack them into one file.
Could somebody assist me in doing this? Tried before but something
crashed...
Here is package: http://rcdrugs.com/_done/js.zip
I've posted this question on several boards:
-
Is the UI section of the site down? I have a few websites that link to
it and they're all taking forever to load, seemingly hanging when
waiting for ui.jquery.com...
This is the first time I've seen this and am wondering if anyone else
is aware of the problem.
Thanks,
Vorge
Is it possible that, say i have two radio buttons, if radio one is
chosen validate gives a message(error) and if radio two is chosen the
form passes validation?
I believe that it's not possible, in general, as you said due to
security reasons.
On Jul 1, 12:17 am, skywalk3r luca.martinc...@gmail.com wrote:
Hi, I'm getting sick trying to solve this problem:
I have a web page A that loads another page B using an iframe (or an
object tag), the B page is
Have you tried using Firebug for Firefox to examine the headers of the
AJAX request to be sure that it wasn't sent? Check that first.
You might be reading the headers incorrectly on the PHP side. Are you
using: $_SERVER['HTTP_X_REQUESTED_WITH']
The beginning HTTP_ part is the tricky part. Make
Just simplify it like:
$(#theSelectsID).change(function () {
var str = $(this).val();
//or -- var str = this.value;
});
On Jun 30, 11:51 pm, developm...@sdinternet.co.uk
p...@sdinternet.co.uk wrote:
If you have a single dropdown list with the id of 'theSelectsID' the
below code should store
It isn't possible. iframes abide by the same origin policy just as ajax
requests do.
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Examine my teachings critically, as a gold assayer would test gold. If you
find they
Hi,
I've seen a number of jquery prompt replacements that allow you to
have a customizable prompt of some sort but none that allow you to
actually use it the way a prompt is normally used - that would say
var x = prompt(please enter your value);
alert(x);
Is there anything like that?
If not -
So...am I to understand that jsonp provides a method by which an image can
be uploaded after submission of a form as part of a callback function? I've
done
some research on jsonp, but still am not clear about it.
Rick
On Wed, Jul 1, 2009 at 1:03 PM, Ricardo ricardob...@gmail.com wrote:
that
How about changing the technique a bit like:
for (var i=0; i TAGS.length; i++) {
TAGS[i].data('count', i)
.click(function(event) {
alert( B[$(this).data('count')] );
});
}
Basically it stores the value of 'i' with the element using .data(),
and you can retrieve
Ok, I supposed it!
Thanks anyway guys!
On Jul 1, 8:28 pm, Michael Lawson mjlaw...@us.ibm.com wrote:
It isn't possible. iframes abide by the same origin policy just as ajax
requests do.
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail:
As jQuery has both a serialize() and serializeArray() method for
serializing an HTML form to a String and JSON respectively, why does
the Form Plugin at malsup.com include yet another serialize() method
in the form of formSerialize()? I understand the fieldSerialize()
method, but not the former.
I have used firebug, and there is no sign of AJAX request.
On the server side I use python, and yes, I'm checking for
'HTTP_X_REQUESTED_WITH'. Maybe there is a problem with the jquery
1.3.2 (which is what I use, linked from google ajax libs)?
On Jul 1, 9:21 pm, James james.gp@gmail.com
Hello,
I am building a plugin and need to use live() to capture click events on
elements with a configurable class name, but only if they are children of
specific node (that may or may not have an ID).
For example, I want to create several containers (divs) on the page, and if
any element with a
theozmanbo wrote:
uploadPicture{errors:[This file was already uploaded]}
That is not valid JSON.
If you were returning
{errors:[This file was already uploaded]}
You would have more luck. In fact I'm willing to bet you'd be able to
do something like alert(data.errors[0]) - because the
Hmm...
What happens if you add:
type: POST
in your AJAX options?
On Jul 1, 10:36 am, hadaraz hada...@gmail.com wrote:
I have used firebug, and there is no sign of AJAX request.
On the server side I use python, and yes, I'm checking for
'HTTP_X_REQUESTED_WITH'. Maybe there is a problem with
Is there a way for plugins to know the context of the jQuery object?
According to the jQuery Core docs, I can create a jQuery collection by
passing in a selector and a context, and I should be able to retrieve the
context from the object's context property, but it's not working within
plugins.
You might want to pull the variable declaration out of the anonymous
function so that it can be used later (outside the function):
var str = ;
$(#theSelectsID).change(function () {
str = $(this).val();
});
// later
alert(str);
--
Hector
On Wed, Jul 1, 2009 at 11:25 AM, James
bump. is it possible to cache something using the ajax call and only
download it using last-modified headers? or is that why nobody ever
responded?
If your requests are returning 304 Not Modified, then it means it's
using the cached version because the one on the server is not
different from the one in the cache.
On Jul 1, 1:07 pm, wgordonw1 wgordo...@gmail.com wrote:
bump. is it possible to cache something using the ajax call and only
There are no plugins like that because you can't do that in JavaScript. You
can't block execution of JavaScript code until some event (such as closing
your lightbox-style confirmation) occurs.
The best you can do is to call another function when the event happens. This
is why every asynchronous
I think my problem would be better clarified if you guys were able to
view the live site. The link is http://nxiel.com/ and the password is
guest1234 (without quotations).
Now if you browse through the pages you will see how the animation
slides to the left and back to right with updated
How would I target (with jQuery or normal javascript) the 5th and 6th
li in an unsorted list for styling? I need to change the css for only
2 items in a list.
Thanks in advance for your help.
http://docs.jquery.com/Selectors/eq
On Jul 1, 3:10 pm, Wacko Jacko jackson.be...@gmail.com wrote:
How would I target (with jQuery or normal javascript) the 5th and 6th
li in an unsorted list for styling? I need to change the css for only
2 items in a list.
Thanks in advance for your help.
I have a text input box, is there a way to detect a copy and paste
event into the box? keyup, focus doesn't really do it.
thanks
http://docs.jquery.com/Selectors/nthChild
also works.
James wrote:
http://docs.jquery.com/Selectors/eq
On Jul 1, 3:10 pm, Wacko Jacko jackson.be...@gmail.com wrote:
How would I target (with jQuery or normal javascript) the 5th and 6th
li in an unsorted list for styling? I need to change
anybody??
seems you are at mercy of load times and with a rapid animation there
isn't much room for time lag. Have you considered skipping the ajax
loading?
Shouldn't be a lot of work to create 4 divs within your sliding panel,
with ID's match your nav href
rather than code all this out giving
I did consider leaving out the ajax loading. In my opinion, its just a
bit of eye candy and I still have the URL's a person can access
directly.
So if i'm not wrong, you are suggesting that I create a single page
will all the content and load the content using jquery. So a single
div container
Been trying to replicate your situation.
the best solution i see is to not load the variables.
may be if you can explain your environment in more detail. like :
this is how I understand.
lets assume we have our container
div id=container
within this container we have out element
div id=target
Thanks! Problem solved. It is always the simple things. I appreciate
the help.
On Jul 1, 8:54 am, Mike Alsup mal...@gmail.com wrote:
I am having an odd error where the pager generates links but they
don't change the slide in FF and Safari. The biggest surprise of all
is that it actually
Is there a way to create a mouseover effect on an image that is in a
jQuery carousel? I want a description to appear by my image when you
mouseover it. Does anyone know if this is possible and how to do it?
Hi,
I have a problem running a simple jQuery script. This is what I'd like
to do:
- Select from a list of radio button
- Each radio button will show a hidden dropdown list
The jQuery snippet I use is as follows:
$(#wrapper_almond).hide();
$(#flavors input[name=cakes]).click(function(){
Is there an easy way with the Cascade plugin to tie to events in
addition to change... The issue is that the Cascade works well when
the parent is changed but does not show the child value on an update
form as the parent in most cases do not need to change... but the
child is not displayed
I want to have the timeout on my jquery.cycle change from 500 to 2500
after one full cycle is complete. (or after a certain amount of
seconds which ever is easier)
Ive tried all manner of ideas on how to get it to work but cant seem
to figure it out.
Can anyone offer me some advice.
Thanks,
I am using some jquery code to validate a form and then post the
results of the form via an ajax request to a script. I am struggling
with the code as when I click submit the form validates but then also
makes the ajax request. What I would like to be able to do is validate
the form and then if
Hi,
I have a PHP page containing a table of what are basically database
rows, several of the fields are editable using Jeditable.
I really like the Jeditable user-friendliness but...
The standard Jeditable behaviour is that once a field has been edited
the result is returned from the server -
I have a few sites with centered layouts and any modalbox script
positions the containing item in a relative position to the parent
item instead of left:0; bottom:0; or whatever it will be over to the
right in relation to how much space is outside the main site
container. So if I have a 900px
Perhaps give each of them an ID? for example:
ul
lione/li
litwo/li
...
li id=fifthfifth/li
li id=sixthsixth/li
/ul
Then you can target them by:
$(#fifth) in jquery OR
#fifth {
}
in CSS
On Jul 1, 6:10 pm, Wacko Jacko jackson.be...@gmail.com wrote:
How would I target (with
Thanks guys! Paul's http://docs.jquery.com/Selectors/nthChild
suggestion is perfect as the lists are generated dynamically I can not
add id's to each item.
On Jul 2, 11:14 am, Shiro nimro...@gmail.com wrote:
Perhaps give each of them an ID? for example:
ul
lione/li
litwo/li
...
there was an interesting thread on this a few months ago. Take a look
at the test run, was continuous loading of large file every 200 ms. The
OP ran test for a day
Solution Thread:
thanks for the reply waseem
i was thinking something along the same lines as well, to keep all the
js in an external file and probably load it even before the ajax pages
are called so there would be no js in the ajax calls, just html.
My web application, is something that usually runs round the
Hi Charlie
I have checked the links you gave me, found some interesting stuff
like adding a .html() before updating the ajax content; but in the
problem situation mentioned, they were only load html, but what if
there is js as well - like if any element has an onClick() event in
the html, and
all the memory issues are over my head, I was hoping someone in the
know might provide an interesting answer myself.
I remembered that test , thought it might interest you.
Veeru wrote:
Hi Charlie
I have checked the links you gave me, found some interesting stuff
like adding a
1 - 100 of 106 matches
Mail list logo