Dear all,
I know this is not directly related to jQuery but I wish to accomplish
this task.
My googling suggests that window.print() only prints the currently
displayed html page.
I wish to print the PDF that is linked to.
How do I do that? I think opening an iframe can do it.
If possible
It seems you not using jQuery...
Give an ID for the table and use jQuery! It will be easyer! ;)
I *think* the following will get you started:
$(#veh_odometer).children(tr).each( function () {
//'this' refers to the current tr
var address = $(td:eq(2), this).text();
console.log(VALUE: + address);
// note: console.log works in Firefox.
// Substitue an alert if desired
// .
Correction. Console.log works with FireBUG, which is a FireFOX plugin...
sighs... I should just go to bed.. :)
Shawn
On Friday 31 October 2008 00:45:08 Shawn wrote:
I *think* the following will get you started:
$(#veh_odometer).children(tr).each( function () {
//'this' refers to the
Here's an awesome jQuery plugin to handle HTML tables like relational
databases:
http://github.com/nkallen/jquery-database/tree/master
--Klaus
On 31 Okt., 06:29, GrootBaas [EMAIL PROTECTED] wrote:
Hi all,
Any help would really be much appreciated.
I have a table, how can I read the cell
Thanks so much mate!
Will get going on it 2morrow.
On Fri, Oct 31, 2008 at 5:45 PM, Shawn [EMAIL PROTECTED] wrote:
I *think* the following will get you started:
$(#veh_odometer).children(tr).each( function () {
//'this' refers to the current tr
var address = $(td:eq(2), this).text();
Glad to help! Sometimes people get annoyed with me when I answer a question
with another question or a little riddle like that, when they really just
wanted a quick answer. So I appreciate your going to the extra work to
figure out the point I was getting at. :-)
I find this let's forget about
Currently the plugin doesn't expose the full markup. If you think it
should, could you file a ticket? http://dev.jquery.com/newticket
(requires registration)
Otherwise, the bodyHandler option may help.
Jörn
On Wed, Oct 29, 2008 at 3:33 PM, Toccamonium [EMAIL PROTECTED] wrote:
Hi,
How can I
The required: selector, selector variant is an OR selector. If one
of those matches, the field is required. Use a function instead to
implement AND.
Jörn
On Wed, Oct 29, 2008 at 3:49 PM, carter [EMAIL PROTECTED] wrote:
I have a feedback form where if the user checks the 'Reply required'
Thanks for tracking this down. Its now fixed in the latest revision.
Please let me know if it works for you.
Jörn
On Wed, Oct 29, 2008 at 10:01 PM, Àlex Corretgé [EMAIL PROTECTED] wrote:
Hi Jörn,
puting these files in the /validate/demo folder you can recreate the
problem:
- the field is
Try looking at the 'drag' option of draggable, it provides a 'Function
that gets called when the mouse is moved during the dragging.'
something like:
$(.item).draggable({
drag(function()
$(this).text('new text');
)
});
I've not tested, but this certainly seems to offer the answer.
HTH
M
Thanks Klaus!
It didn't fix the problem for me, my example still jumps to the top:
http://www.sandstream.se/tabs_test3.html
As you say one solution might be to make the tabs the same hight by
putting content of the same size in them.
If you find another solution please let me know.
Hmm ... i think i have tried this before. here is a problem though i
encounter, not sure if i will encounter this again:
The link is wrapping an image (larger then #myContainer), then when
hovering over the image the #myContainer fades in as expected
overlaying the image, containing a number of
Do asp.net server side control events like asp button click fire in
jquery? Please reply asap
Hi All,
I have created a contact form here:
http://test.fibranet-services.com/bunnymelody/dev/contact.asp
It is working well in IE6 , IE7 and FF3 but I am having problem with
Opera 9.5+. It's seems that Opera didn't recognize the validation
rules that I put in the form.
Can somebody help me
Girish Venkatachalam wrote:
I wish to print the PDF that is linked to.
Do you mean an embedded pdf file? You cannot depend on that behavior -
some people configure pdf files to be downloadable rather than open it
in a browser window.
How do I do that? I think opening an iframe can do
Hi! all i'm new bee to this magic(jQuery), can anybody tell from which
site to study?
which must have lots of examples in it.
Thanks in advance
shahjahan
Klaus Hartl wrote:
Here's an awesome jQuery plugin to handle HTML tables like relational
databases:
http://github.com/nkallen/jquery-database/tree/master
Wow. That's pretty cool. Thanks for the link.
Vamsee.
wow, I cant say much about your code, but your page looks awesome.
On Oct 30, 8:13 pm, OscarGodson [EMAIL PROTECTED] wrote:
This is a fairly advanced jQuery animation I am doing on a site I am doing,
but I know it's failing at alert('2'); as you will see it in the comments. I
have tried
Wow, I have recently faced the exact same problem. I am using the head
to keep track of all the javascript libraries that have been loaded
via ajax -- samething for style sheets. Then, whenever I load a new
ajax page I read all the scripts/css files it needs to load and
manually load the css
If you want a Viewport and Containers that allow nested layout, that
are jQuery components see the post post, demo and code here.
http://santrajan.blogspot.com/2008/10/viewport-column-container-and-nested.html
Hi, what I'm trying to do is when a user clicks on submit the form
sends all the form variables + the tr id's that tDnD generates
using
ajax.
Also when I tried to serialize the table outside the onDrop function
it generates an error.
I tried many ways to do it but without any success.
Ideas are:
No one have any ideas what might be causing this??
On 30 Oct, 17:40, alan [EMAIL PROTECTED] wrote:
Hey
We have a carousel that display horizontally with 5 elements.
However, when we try to access that page with an empty cache (reset
safari) and navigate to the page, the carousel is
This site is a good start
http://15daysofjquery.com/quicker/4/
See the right hand pane with the 15 days links (the above link is
day 1)
On Oct 31, 5:18 am, shah [EMAIL PROTECTED] wrote:
Hi! all i'm new bee to this magic(jQuery), can anybody tell from which
site to study?
which must have
Also to add
Karl Swedberg's site, which is aptly named:
http://www.learningjquery.com/
There's filters for your level of expertise and lots of sample code
On Oct 31, 5:18 am, shah [EMAIL PROTECTED] wrote:
Hi! all i'm new bee to this magic(jQuery), can anybody tell from which
site to study?
I'm not sure what your question has *anything at all* to do with
jQuery, but anyways
It's definitely possible, as the US Post Office's website does this
exact functionality when you create shipping labels online
On Oct 31, 2:30 am, Girish Venkatachalam
[EMAIL PROTECTED] wrote:
Dear all,
I
hi,
it seems like it doesn't remove the 'clicked' class.
if i remove the class manually it works again.
what about:
$('#content_container img').removeClass('clicked');
or:
$('.site_thumbs').children('img').removeClass('clicked');
or:
$('.clicked').removeClass('clicked');
don't know. something
Expect something in the next couple of days. I want to have the api
docs setup good this time.
On Oct 30, 1:41 pm, Olivier Percebois-Garve [EMAIL PROTECTED]
wrote:
Hi
any chance to see the work in progress ? demo, (even partially buggy) ? svn
?
Olivier
On Tue, Oct 28, 2008 at 10:25 AM,
p.s. at this time, IE seems a bit buggy, have to fix that before i
release any code.
I am also using some PNG files right now, which i have to change into
transparent gifs (IE).
On Oct 31, 2:08 pm, Gilles (Webunity) [EMAIL PROTECTED] wrote:
Expect something in the next couple of days. I want to
Well, you copied that stuff into the wrong place producing a syntax
error, thus the tabs don't work at all. Just append what I posted to
the end of the ui.tabs.js file or paste it into a separate file and
include it after the ui.tabs.js.
You should use Firebug - or at least the error console -
I am trying to implement a slider that can have one or two handles
determined dynamically. If there are two handles they have to have a
minimum range and if one handle gets close to the other handle, the
other handle should move away in order to keep the minimum range. I
found the following
Wouldn't a better version of the code be
$.blockUI();
searchLocDep( );
searchLocArr( );
searchLocInt( ... );
setTimeout(function() {
$.unblockUI();
}, 200);
That way all the search stuff gets run asap?
On Oct 30, 7:13 pm, Mike Alsup [EMAIL PROTECTED] wrote:
What was
That's an awesome way to do a slideshow. it would be slick to wrap
that up in a jQuery plugin (like the cool numeric stepper)
*Blech* to pollution in China. it really is that bad, i got to
experience Beijing and Shanghai first hand back in May. but i
digress :-)
On Oct 31,
On Thu, Oct 30, 2008 at 2:10 PM, Ken Gregg [EMAIL PROTECTED] wrote:
No joy. I removed the anchors and fixed a problem with a duplicate id
and still experience the same problem.
I've never seen that behavior again. I've been in meetings for the past
couple of days, but I'll try to look into
Hi,
is it possible to passed the jQuery object a variable with the the js
functions for example?
I'm having problems with jQuery. I have an img that on click it runs
this function however nothing gets hidden or shown.
I have the following in my page header
Code:
function hide_Show(RegionID)
I hope someone can help a newbie out here...
I've put some jQuery together to load part of my pages after my page
is ready. It works fine, but I'm wondering if there is a better way.
In my HTML I've got something like:
div class='progressive' href='my uri path to load something'/div
Then my
Wouldn't a better version of the code be
$.blockUI();
searchLocDep( );
searchLocArr( );
searchLocInt( ... );
setTimeout(function() {
$.unblockUI();
}, 200);
That way all the search stuff gets run asap?
No. You need to give the browser a chance to render the DOM
Then my javascript is like this:
function load_progressives() {
$(.progressive).each(function(n) {
var wrapset = $(.progressive).slice(n)
wrapset.load(wrapset.attr('href'))
});
}
This should work:
function load_progressives() {
I am creating a profile update page using jQuery. The content of the
profile is loaded dynamically into a div tag on the page.
$(document).ready(function() {
// Your code goes here
$(div#notifications).load(supportscripts/writeoutprofile.asp);
});
So this loads the profile into the
Hmmm... what if it takes longer than 200 milliseconds (i know the
common answer would be wait longer then)
i dunno, the whole framework/flow of that guys code just seems
unreliable/unstable
On Oct 31, 11:41 am, Mike Alsup [EMAIL PROTECTED] wrote:
Wouldn't a better version of the code
I'm working on a project where we have a table and each row is
clickable (but only certain columns within that row), but we cannot
use an a tag for other reasons. Currently I have to attach click
events to the proper table cells, which works just fine, it's just
inefficient.
If I have a table
OscarGodson wrote:
ripcurlksm wrote:
I’ve had some users that accidentally hit back on their browsers when
trying to close the thickbox (instead of hitting the Close Button)... is
there a way to make it so the user can click back on their browser and
it’ll close the thickbox,
Thanks! I have been working really hard on creating a site that works like a
flash site, but everything is indexable, loads faster, and is easily
editable for anyone else who would need/want to work on the site. I work
with flash all the time where I have to go and fix something, and of course
Check out the Event Delegation section of this excellent article
http://www.learningjquery.com/2008/03/working-with-events-part-1
On Oct 31, 12:07 pm, c.barr [EMAIL PROTECTED] wrote:
I'm working on a project where we have a table and each row is
clickable (but only certain columns within
$('.clicked').removeClass('clicked');
That's what I added late last night after I sent this. I actually knew about
this before I sent a message on here and totally forgot to undo my tests all
the way.
You can view the code now which will have:
$('.site_thumbs img').fadeIn(1000,function(){
That is strange you can go back. I just tested it on a couple sites with
ThickBox on it and I can't go back. It doesn't add hashes to the url string
even. I'm using FF 3.0.2. What version are you using? I can't seem to get
the back to close the ThickBox on Firefox. If I go back it goes back to
OMG! That's perfect! thank you.
On Oct 30, 6:32 pm, Mason [EMAIL PROTECTED] wrote:
Henry, this should help:
http://nettuts.com/tutorials/wordpress/adding-form-validation-to-word...
On Oct 30, 6:54 pm, Henry [EMAIL PROTECTED] wrote:
I'm sorry. Maybe I'm over my head here. But I found a
I am on FF 3.0.3 on Windows Vista Pro
OscarGodson wrote:
That is strange you can go back. I just tested it on a couple sites with
ThickBox on it and I can't go back. It doesn't add hashes to the url
string even. I'm using FF 3.0.2. What version are you using? I can't seem
to get the back
Thanks it works great! I had tried using this but missed that it
should be $(this).
On Oct 31, 11:45 am, Mike Alsup [EMAIL PROTECTED] wrote:
Then my javascript is like this:
function load_progressives() {
$(.progressive).each(function(n) {
var wrapset =
I got it. The dragged item is cloned (this.helper)
Actually, for some reason, I've had to use $(this).attr('href')
instead of this.href. Is there some reason for this?
On Oct 31, 1:03 pm, Leo [EMAIL PROTECTED] wrote:
Thanks it works great! I had tried using this but missed that it
should be $(this).
On Oct 31, 11:45 am, Mike Alsup [EMAIL
Probably because href isn't a DOM standard property of a div
On Oct 31, 1:13 pm, Leo [EMAIL PROTECTED] wrote:
Actually, for some reason, I've had to use $(this).attr('href')
instead of this.href. Is there some reason for this?
On Oct 31, 1:03 pm, Leo [EMAIL PROTECTED] wrote:
Thanks it
MartyB schrieb:
I'm a newbee. I want to create a collapsable ul. But I want each
visible li (including both parent li and child li's ) to alternate the
background color. The problem is that when I apply the background to
the parent, all of the child li's do not change color they inherit the
Makes sense, thanks.
On Oct 31, 1:20 pm, MorningZ [EMAIL PROTECTED] wrote:
Probably because href isn't a DOM standard property of a div
On Oct 31, 1:13 pm, Leo [EMAIL PROTECTED] wrote:
Actually, for some reason, I've had to use $(this).attr('href')
instead of this.href. Is there some
Wow. I didn't realize that. Thanks very much for that information - it
saves me a lot of time that I might have spent trying to accomplish
this.
Happy Halloween!!!
On Oct 30, 7:39 pm, Karl Rudd [EMAIL PROTECTED] wrote:
PDFs aren't something a browser can render without the help of a
plugin,
That's odd, I thought It should work. getScript() doesn't add a
visible script tag to the DOM either, but it would be easy to track
script urls with an object.
This works though: $('head')[0].appendChild($('script type=text/
javascript src=what.js')[0])
On Oct 29, 9:11 pm, Bob Schellink [EMAIL
Hi, i use .animate() in my cms and would like to try some other easing
plugins besides linear and swing, the builtin ones.
But i can't find any to download on the jquery site.. Maybe i'm not
looking right..
Have you found them?
Hello, I'm sure this is easier then I'm thinking but ... what I need
to do is fire the doSomething(); and or the $
(window).bind('resize', ...etc functions out side of the $
('[class^=Round_gen]').filter(function() {... etc
... right now they are inside so I could get them working... but they
yeap, you're not looking right :)
http://www.google.com/search?q=jquery%20easing
--
Ariel Flesler
http://flesler.blogspot.com
On Oct 31, 3:32 pm, Rene Veerman [EMAIL PROTECTED] wrote:
Hi, i use .animate() in my cms and would like to try some other easing
plugins besides linear and swing, the
i'm new to jquery and have a problem with a ul. i'm trying to get the
value of p from the list can someone help me out?
jquery-
$(.menu_item).click(function(){
if ($(this).('p').text = 'Home')
{
window.location.href=index.html;
I'm developing a plugin and I'm having some issues. I put together a
small test plugin to demonstrate the problem I'm having.
Here's the sample plugin. It simply saves a parameter passed into the
plugin into a local variable, and displays that variable at a later
time.
(function($) {
//
Hi, your thoughts are right.
You might look at this plugin, it 'utilizes the power of jQuery
selectors by binding events or firing callbacks for matched elements
auto-magically, even after the page has been loaded and the DOM
updated.'
Ok,this is an situation. I have an page that loads over jqModal a page
in that iframe, its easy for me that from that page close modal and
empty that iframe with
parent.jQuery('.modal1').find('#iframe').attr('src' ,
'').end().jqmHide();
but on that same page I also have an option to get second
Hello,
I'm trying to use the empty() method to clear a page and print
something new. It works fine in Firefox, but has a problem in Safari.
Whenever I use the method in Safari, it does what it's supposed to do
and then reloads the page immediately on its own. How can I prevent it
from doing
I'm displaying a message using the jQuery.blockUI() call. When my
message stopped functioning properly, I dug into the DOM a bit and
discovered it was moving my msg element to the bottom of the body.
Unfortunately this breaks my form. Is there a specific reason the msg
is appended to the body
in short:
when I use FF3 and submit a form by hitting the enter-key after typing
a few characters in an input field, the validator thinks the form is
valid even when it's not, and subsequently submits the form.
to see what i mean, go to any jquery.validator demo:
hi ricardo,
here is my try at it, let me know if it is better. What i did is :
- load the first image of each set (as it is needed for the hover state)
- use a placeholder.gif file put as src attribute value for all
images, the real src being stored as a custom attribute
i'd say simply replace the iframe href attribute value onHide using
blank.html or #
On Fri, Oct 31, 2008 at 6:16 PM, Yessica [EMAIL PROTECTED] wrote:
Ok,this is an situation. I have an page that loads over jqModal a page
in that iframe, its easy for me that from that page close modal and
Hi,
I need to format a number as specified in a input pattern, Something like
this:
$(money).format(###.###,##);
$(pi).format(#,#*);
so, money will allow something like 2.500,75
and pi wil allow something like 3.1416
If you know a plugin that could work this way or similar, please let me
Hi,
I have an Orkut application which is iFrame. I have this parent
iFrame with scroll down.
When use thickbox jquery to open links as iFrame, The Popup Window
opens in middle of the Page, Instead of where the link was clicked ?
Any IDea how to fix this?
Theres tons of Javascript solutions
http://www.google.com/search?q=javascript+format+numberie=utf-8oe=utf-8aq=t
(which jQuery would do under the hood anyways)
On Oct 31, 4:21 pm, ipazmino [EMAIL PROTECTED] wrote:
Hi,
I need to format a number as specified in a input pattern, Something
How about using the alternative way?
wrap the content you want blocked in something like
div id=Block_This
. content you want blocked
/div
and then say
$(Block_This).block();
On Oct 31, 3:31 pm, Benzo [EMAIL PROTECTED] wrote:
I'm displaying a message using the
Returning messages from the server with a single request for the whole
form is a long-term goal, but currently not feasible.
Jörn
On Fri, Oct 31, 2008 at 9:31 PM, Nishan Karassik [EMAIL PROTECTED] wrote:
Jorn,
I've been looking at the remote method of your Validation plugin, but
was
Happy Halloween folks!
I'm happy to announce that a unique jQuery based media player is going
to be serving up a stream of the Widespread Panic concert from Voodoo
Fest in Nawlins. Entertainment for the masses this evening. If you're
around the computer, please stop on by and witness some of
The debug option isn't set on that form, so its normal that it
submits. I don't see the problem.
Jörn
On Fri, Oct 31, 2008 at 8:56 PM, Matthew [EMAIL PROTECTED] wrote:
in short:
when I use FF3 and submit a form by hitting the enter-key after typing
a few characters in an input field, the
Check out this tooltip plugin, it includes a fade-option that handles
the queuing issues:
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/
Jörn
On Thu, Oct 30, 2008 at 3:13 PM, TS [EMAIL PROTECTED] wrote:
Hello all,
I have created som tooltip code for hyperlinks. I am having an
There still is the issue of the old accordion plugin being
available, I'll remove that once jQuery UI 1.6 is out, which is the
right place to look for the accordion now, and which includes the
autoHeight with mixed case option.
Jörn
On Wed, Oct 29, 2008 at 9:59 PM, Mike [EMAIL PROTECTED] wrote:
Yup, I tried $('form').block() a few minutes after I posted. It allows
me to still post form variables and simulate a full block. I just need
to modify my styles, now.
I just started using BlockUI today. It's is a pretty sweet plug-in.
Concise and versatile.
Thanks for the reply,
Ben
On Oct
Or, don't use hover. If you make the users click the link instead of just
hovering over the link, then you basically have a toggle. (there is a
.toggle() method as well for this sort of thing...)
Or you can use a timer. When the hover ends, start a timer. Then clear/reset
that timer if the
Hi Ricardo,
ricardobeat wrote:
This works though: $('head')[0].appendChild($('script type=text/
javascript src=what.js')[0])
Thanks, that is pretty slick. Much better than the approach I took of
tracking scripts by appending place holder tags in head.
Just to summarize, my approach to
I am having an odd behavior when calling click() on a checkbox [2] vs
manually checking a checkbox [1].
function checkbox_click(event)
{
event.stopPropagation();
do_email(enable_email.url);
if($(event.target).attr('checked'))
{
I'm happy to announce that a unique jQuery based media player is going
to be serving up a stream of the Widespread Panic concert from Voodoo
Fest in Nawlins. Entertainment for the masses this evening. If you're
around the computer, please stop on by and witness some of this up
coming
Hah! Well it turns out that the CDN crapped out and the streaming crew
is forced use a WMP stream -- all good except that the player I
provided was compiled (packed) without Windows Media Support! So; it
looks like the player will arise another day. In the meantime I'll be
cleaning things up,
Hah! Well it turns out that the CDN crapped out and the streaming crew
is forced use a WMP stream -- all good except that the player I
provided was compiled (packed) without Windows Media Support! So; it
looks like the player will arise another day. In the meantime I'll be
cleaning things up,
While debugging my application (which makes heavy use of jQuery), after
several hours IE had consumed about 300MB.
So I figure I've got some memory leaks.
I tried sIEve 0.8 and wasn't able to find anything specific that was leaking
or causing problems. I tried the system, dragged things
I just recently stumbled across jQuery while searching for a method to
scroll some headlines. Not only did I find a nearly perfect solution
but realized jQuery could do half the other things I wanted. All from
the same library. So I'm impressed.
Anyway, I would like to modify the Scroll Up
Hi!
My name is Thomas Kahn and this is my first post to this list. I'm a
web developer working in Stockholm Sweden and I've just started
developing my my first plugin for jQuery; in fact jQuery is a totally
new experience for me - I started from scratch a week ago. :-)
All the info, a demo and
wow that's way faster. Now the site loads in 5-10 seconds at most. I
didn't have any problems browsing the sets, images were always loaded
ahed. The only issue I found was that the navigation arrow image
didn't appear until all images in the set were loaded.
nice work!
Alexandre Plennevaux
88 matches
Mail list logo