chris wrote:
On Nov 6, 5:25 pm, Jonathan Vanherpe (T T NV)jonat...@tnt.be
wrote:
I guess you'll just need to add this:
$('div#menu').load($(this).attr('href')+' div#menu');
But I should warn you, this is far from efficient, as you're making 2
requests for the same page this way, instead of
dear friends,
I have one input field, when I write some letter and press enter then ajax
request will happen. Return value from ajax I append to one tag div. Then I
load data into dialog. I can do that, but the problem is It just happens one
time and the problem when data successfully load, the
Thanks Jules I'll give it a try now.
I was looking for something that would trigger the validation but I
thought it was automagically triggered onblur/keyup but perhaps thats
only after the initially validate via submit
* thanks for the typo spotting!.. totally missed that
ta
Brad
On Nov 6,
Hi,
I hope this is the right group I am posting to.
I'm trying using htaccess for SEO friendly. The htaccess sample is
below
IfModule mod_rewrite.c
Options -MultiViews
RewriteEngine on
RewriteBase /
RewriteRule .* - [env=REWRITE_ON:1]
RewriteCond %{REQUEST_FILENAME} !-d
Mike,
The problem is partially solved.
Can you post a link to this page?
No, I can't - since it is a project all the time being developed on
localhost.
Is inner-holder-error the outer
most element used for blocking? For example, does your block call
look like this:
$.blockUI({
Thank you so much for the answer - and sorry for not picking up on it
sooner! (I expected to get anemail notifcation!)
I've had a go at implementing this new method but it's not working for
me. I've added your code into my validate call but it's not doing
anything there.
I have the structure shown at the bottom of this post.
The scenario is that relative to an event on the page the scrollTo is
used to set the #top to the necessary cc_ DIV. The problem is that the
container in which all cc_'s are placed is 202px in height (can
change). When the scrollTo is
Isn't there a bit of JavaScript missing in this question ?
Anyway, if I've got your problem right and if I were you at this point, I'd
rather use the position http://docs.jquery.com/CSS/position method of the
element you want to scroll down to instead of adding heights which might be
a lot
FYI anyone with this same issue..
Not really a JQuery issue. GWO control scripts need to be loaded
before jQuery. it is a race condition.
jQuery is still loading whilst the redirect is in operation.. hence no
body in the DOM.
On 6 Nov, 16:57, paulroon paulr...@gmail.com wrote:
Hey all,
Head
Hallo all.
I found this library (http://code.google.com/p/jspdf/) as someone
suggested to create custom PDF files from javascript.
What I need now is a more difficult task.
I need to create a PDF file using the css media=print.
So I would like to generate a PDF file equal to what is sent to the
Hi Jörn,
On Nov 7, 3:28 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
The plugin by default picks up attributes, so if you're using attribute
names that match validation plugin methods, it should work like that. Though
you may need to also provide a value, ala required=true, not
In addition to above, some observations.
1. I changed:
$.blockUI
({
message: $('#inner-holder-error'),
css:
{
top: ($(window).height() - 500) /2 + 'px',
left: ($(window).width() - 500) /2 + 'px',
width:
I'd look into something server-side if I was you:
http://code.google.com/p/wkhtmltopdf/ is a good option, if you have a
way of running custom binaries on your server.
Jonathan
m.ugues wrote:
Hallo all.
I found this library (http://code.google.com/p/jspdf/) as someone
suggested to create
Hi all
I have already posted on stackoverflow about this issue.
Here a short description:
A Javascript function gets called from within a SimpleModal window. In
this function some content found in this modal window is replaced -
e.g. $('#DivTest').html('ChangedValue').
In IE8, if the
HI,
I have been succesfully using Cascade for some time now but I have hit
a wall.
I have over 20,000 lines of data and consequently the server load and
subsequent delay for the user is making the cascade feature very poor.
I currently generate the list via php which works well for me.
What I
Hi all,
I am creating a function using jQuery in application.js file.
(function($) {
function test() {
alert('in function');
}
})(jQuery);
When I am trying to call this function from outside (not in this jQuery
block), I am getting an error saying that function is not defined.
I am
The function by itself will not be available within other blocks, since the
function is in local scope.
You should attach the function to the jQuery object instead for later use
using the following syntax :
(function($) {
$.function_name = function test() {
alert('in function');
}
Hi,
I have this horrible problem that i've spent like 2 days looking for a
easy solution but to no avail. I've been using the jQuery validation
plugin to do the validation for me and it has working great so far.
I've added the remote option and it communicates perfectly with the
server and sends
Ah,
I got it working... The value of the required attribute should be a
dependency-expression (http://docs.jquery.com/Plugins/Validation/
Methods/required#dependency-expression )
So, required=true does not work. I'm still trying to figure out
what else can be in there / what exactly a
Hi, I am new to this and attempting to use milkbox. It looks like
jquery-1.3.2.min.js is preventing milkbox from working. I wonder if
there is an obvious conflict (already documented), or if this requires
more exploration.
I am pasting code below. Thank you. Jessica
style type=text/css @import
See
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
http://docs.jquery.com/Using_jQuery_with_Other_Librariesand
http://docs.jquery.com/Core/jQuery.noConflict
http://docs.jquery.com/Core/jQuery.noConflict- Richard
On Mon, Nov 9, 2009 at 8:02 AM, jessicaw1974 jessicaw1...@gmail.com
I have a series of tabs using UI. I need to hide some tabs depending on
the selection in the first tab. Doing $(#tab3).hide(); doesn't work.
This is what I have thus far:
$(#div.jobtype input[name='jobtype']).click( function () {
$(#tabLocations).hide();
Hi, there are a couple functions declared in jQuery such as genFx and
num, that would be useful in other aspects of jQuery development, and
other js activities. They are not attatched to the jQery ovbject. Is
there any way currently to access them (me thinks not?), and could
they be instead
Show/Hide works perfectly fine in this quick example
http://jsbin.com/oyagi/edit
recall that the tabs are actually li items that reference the
tabs, which are div's to hide the tab itself, you need to hide
the li
On Nov 9, 10:23 am, Shawn sgro...@open2space.com wrote:
I have a series of
Thanks. Your message got me looking in the right direction. Turns out
my selector was wrong. Needed #jobtype, not div.jobtype. Once I
changed that everything worked as expected.
Shawn
MorningZ wrote:
Show/Hide works perfectly fine in this quick example
http://jsbin.com/oyagi/edit
I am ramping up on jQuery and CSS, AJAX, etc.
I am looking for sample code that would demonstrate best practices for a
menu driven web application. I am really interested in the use of AJAX since
our application displays a lot of dynamic content (status monitoring,
events, etc).
Does anyone
Hi,
I have been searching for a way to resize simplemodal dialog after
showing it. In plugin source i can see that a function
'resize.simplemodal' is bound to window on initialization. Ive tried
to call this function directly with no luck. Is there a way to have
simplemodal recalculate its size
I just want to say thanks to the jQuery team for an excellent tool!
And I want to add a shout-out to Remy Sharp for a technique that made
it possible.
My latest project involves little front-end work, and I haven't been
using jQuery much, but I recently had a little itch to scratch, and
jQuery
Is that close to what I was doing on the second example, where I was
calling $().text in the callback portion of fadeIn()?
On Nov 9, 12:38 am, Michel Belleville michel.bellevi...@gmail.com
wrote:
To use callbacks that are triggered actually when the animation finishes
instead of calling the
I prefer to make the job client-side if is possible.
My idea is to intercept the window.print command (where the layout is
correct through the css print) and not to send it to the printer but
to send it in some way to the constructor of this library
http://code.google.com/p/jspdf/
Am I
I am attempting to add a class to a div before deleting it. I just cant get
the class to remove if the user selects no.
Anyone have tips or a link with suggestions? I found the jquery.confirm.js
script but unable to add a class to the element being deleted before confirm
Thanks
Dave
On Mon, Nov 9, 2009 at 8:58 AM, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
I am attempting to add a class to a div before deleting it. I just cant
get the class to remove if the user selects no.
Anyone have tips or a link with suggestions? I found the jquery.confirm.js
Hi All,
Im new to Jquery, I want to do table paging, Can some body help me to do
this
Warm Regards,
Mari Raj K,
Bangalore
+91 9740765135
My bad.
Here is what I have so far.
$(a.delete).live('click', function (){
var url_id = $(this).attr(href);
var div_id = url_id.split('/');
var set_id = 'set_'+div_id[div_id.length-1];
$('#'+set_id).addClass('pre_delete');
$.ajax({
type: POST,
url: url_id,
The jsPDF project, while interesting, has a long way to go. Their demo page
at
http://jspdf.googlecode.com/svn/trunk/examples/basic.htm
Worked fine in Safari for iPhone and Safari for Windows, but broke in Chrome
and Firefox 3. And no IE support at this time.
Seems a bit tricky to use a
The problem using server side option is that I have a web site with a
lot of pages.
For every page I need to generate a PDF; so I need to create a Java
class for every html page where I reproduce the html layout (since the
PDF must be the same as the html shown on the screen).
Another problem is
Your second example was closer, considering you triggered the text change in
a callback, but you still triggered the animations all at once which I think
wasn't the effect you desired.
So how does the example I've given you work ? Let's comment :
var recursive_anim = function(list, step, target,
Why do you have to create the page. People can just click print, and
then save as pdf?
On Nov 9, 2009, at 9:30 AM, m.ugues wrote:
The problem using server side option is that I have a web site with a
lot of pages.
For every page I need to generate a PDF; so I need to create a Java
class
Thanks. That takes care of the problem.
All the best,
luciano
On Nov 8, 5:39 am, gfranklin gfrank...@gmail.com wrote:
Luciano,
http://apc.mcswebhost.com/about-us/history
Your About button is assigned the class .active.
It looks to me like .active has assigned #ccc background color. Just
Can you do something like this:
1. General Java class that accepts a URL and converts it into a PDF.
2. Link on all pages that will fire the Java program passing its own url as
a parameter.
3. Java program reads the contents of the url as HTML, parses it as PDF.
4. Outputs PDF stream back to
Hi Raju,
you can start by reading this:
http://www.packtpub.com/article/jquery-table-manipulation-part1
Have fun!
--
Bohdan
On Nov 9, 6:06 pm, Raju raju3...@gmail.com wrote:
Hi All,
Im new to Jquery, I want to do table paging, Can some body help me to do
this
Warm Regards,
Mari Raj K,
$(a.delete).live('click', function (){
var url_id = $(this).attr(href);
var div_id = url_id.split('/');
var set_id = 'set_'+div_id[div_id.length-1];
$('#'+set_id).addClass('pre_delete');
if (confirm('Delete?')) {
$.ajax({
type: POST,
url: url_id,
success: function(){
$('#' +
Right on.
Thanks you.
Dave
-Original Message-
From: MorningZ [mailto:morni...@gmail.com]
Sent: November-09-09 2:25 PM
To: jQuery (English)
Subject: [jQuery] Re: Confirm Delete
$(a.delete).live('click', function (){
var url_id = $(this).attr(href);
var div_id = url_id.split('/');
Matt Quackenbush-2 wrote:
I'm going to say that there is about a 99.99% chance that the paths to
your CSS and jQuery files are incorrect.
That's the odd thing about this. I immediatly thought that as well, since
the symptoms are a perfect fit. But I checked and double checked.
Nobody knows how to solve this issue? maybe this is the wrong mailing list?
On Sun, Nov 8, 2009 at 8:28 PM, cavanshir cavanshi...@gmail.com wrote:
Hello,
I have page with buttons and links. I wrote a jQuery code that adds
new css classes to images under clicked links. Also I have an Ajax
Can you set required as remote?
For example I have a year field where the server validates the rules, 4
numeric characters, required.
But rather then having to put the rules for every field in the js required:
true, number: true, maxlength 4, minlength:4 that are duplicates the the
server
If I were you I would still check the files are accessible through the url
you provided in your html hooks (Firebug should help you check that), and if
not I would check the permissions are set right and the files at their
proper place.
Also don't forget if you're using url rewriting, local paths
I'm guessing you're giving behaviour to your links like this :
$('#any .old_path a').click(...);
So, you're giving it to any link that are present in the dom at the place
you want when you're executing the former code.
Then you're adding elements to the dom with an ajax call. These elements
Of course, its a jquery expression, what else...
However, I do think the docs may be wrong: at
http://docs.jquery.com/Plugins/Validation/Methods/required#dependency-expression
In the arguments section it reads:
An expression (String) is evaluated in the context of the element's
form, making the
I've been looking everywhere for an answer to this - I think it might
be too obvious and I'm missing something.
I'm using jqModal to load (via Ajax) a page of academic references -
but I can't get the @href to pick up on the full url of the trigger -
ie, it's ignoring everything from # onwards
On Nov 9, 12:30 pm, m.ugues m.ug...@gmail.com wrote:
The problem using server side option is that I have a web site with a
lot of pages.
For every page I need to generate a PDF; so I need to create a Java
class for every html page where I reproduce the html layout (since the
PDF must be the
Problem solved, see http://facility9.com/2008/07/17/ie7-dropdowns-and-z-index
.sf-menu li:hover,
.sf-menu li.sfHover{
z-index: 99;
}
instead of
.sf-menu li:hover ul,
.sf-menu li.sfHover ul{
z-index: 99;
}
i have a search icon at the top of my page, when i click this it
toggles show/hide on the search form.
now when the user loses focus of the search form (.blur), i want it to
activate the hide part of the toggle.
when the search icon is clicked, it gives focus to the search form, so
the moment
hi,
jquery form only work if name of form is myform? is correct afirmation?
thank´s
On Mon, Nov 9, 2009 at 2:16 PM, Lord Gustavo Miguel Angel
goosfanc...@gmail.com wrote:
hi,
jquery form only work if name of form is myform? is correct afirmation?
there are no such restrictions/limitations.
Any page element can have any valid name value (any valid value for any
attribute,
then...
what alternative have?
thank´s
From: Charlie Griefer
Sent: Monday, November 09, 2009 7:18 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] jquery form and myfom
On Mon, Nov 9, 2009 at 2:16 PM, Lord Gustavo Miguel Angel
goosfanc...@gmail.com wrote:
hi,
jquery form only
name your elements with whatever name you want.
form name=gustavo id=xyz class=blah
can be selected via:
$('#xyz')
$('.blah') (this will return an array of -all- elements of class blah)
$('form') (this will return an array of -all- form elements on the pag)
$('form[name=gustavo]')
ok.
thnks´ i treid it.
From: Charlie Griefer
Sent: Monday, November 09, 2009 7:41 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] jquery form and myfom
name your elements with whatever name you want.
form name=gustavo id=xyz class=blah
can be selected via:
$('#xyz')
$('.blah')
I want that 10 minutes of my life back... :\
On Mon, Nov 9, 2009 at 2:47 PM, Lord Gustavo Miguel Angel
goosfanc...@gmail.com wrote:
ok.
thnks´ i treid it.
*From:* Charlie Griefer charlie.grie...@gmail.com
*Sent:* Monday, November 09, 2009 7:41 PM
*To:* jquery-en@googlegroups.com
Hi,
When div id=MyResult/div changes with a AJAX response I would
like to fire a alert. What am I doing wrong?
$(document).ready(function() {
$(#MyResult).change(function (){
alert('hi');
});
});
On Mon, Nov 9, 2009 at 3:26 PM, factoringcompare.com
firstfacto...@googlemail.com wrote:
When div id=MyResult/div changes with a AJAX response I would
like to fire a alert. What am I doing wrong?
$(document).ready(function() {
$(#MyResult).change(function (){
alert('hi');
});
});
http://docs.jquery.com/Events/change#fn says : The change event fires when
a control loses the input focus and its value has been modified since
gaining focus.
Sadly a div is not a control and I don't know of a method to do precisely
what you're trying to do the way you want to do it. Though if I
Hi Salvatore,
Thank you for your response. Do you have a basic example to see how to
use this function?
Regards,
BMnt
On 7 nov, 10:12, Salvatore FUSTO ing.fu...@gmail.com wrote:
Use the $.ajax() function: in it among other you can specify a structure of
data to pass to your action page
I am using jQuery tabs and when I have very long content within the tabs, my
browsers scroll bar reflects the content in the tab with the most content.
Example, Tab 1 Tab 3 has a very long scroll bar, even though it has no
content (because of Tab 2) and you can scroll down through the empty
Hello, Marty McGee here. I was hoping to open a discussion about the
benefits of extending jQuery with your own custom functions versus
simply writing your functions in JavaScript and calling them without
extending jQuery first. Please enlighten me and the rest of the
humble jQuery library
For some reason, Return key doesn't invoke OK button in JQuery dialog.
Any idea what could be the issue?
Does anyone have experience in implementing jquery inside of the
Plumtree portal (AKA BEA Aqualogic, AKA Oracle Webcenter Suite)?
Wendy
Hi all,
I have two select tags which have the same options in the
different positions of a page:
For example,
select name=number1
option1/option
option2/option
option3/option
option4/option
option5/option
/select
...
...
select name=number2
Hi, I'm having trouble in making an ajax call with an html button.
Can anyone answer my questions? Thanks in advance!
url: comment.php?id=1
Question 1: how do I get the php variable $_REQUEST['id'] in jquery?
Question 2: when I clicked the button, the url goes back to
comment.php. How can I
If this is UI Tabs you should ask in the jQuery UI group.
What I want is: When the user choose an item from the number1
select, the number2select will automatically change to the same
value to the number2.
Maybe something like this?
$(select[name=number1]).change(function(){
$(select[name=number2]).val(
$(this).val()
);
});
If the
For some reason, Return key doesn't invoke OK button in JQuery dialog.
Any idea what could be the issue?
Do you have some simple code demonstrating the problem? If the OK
button is a submit button in a form this generally should work, but an
example would be good.
On Mon, Nov 9, 2009 at 4:06 PM, Dave Methvin dave.meth...@gmail.com wrote:
What I want is: When the user choose an item from the number1
select, the number2select will automatically change to the same
value to the number2.
Maybe something like this?
Hello, Marty McGee here. I was hoping to open a discussion about the
benefits of extending jQuery with your own custom functions versus
simply writing your functions in JavaScript and calling them without
extending jQuery first.
I am not a fan of extending the jQuery object with unrelated
Hello to all
I using the cascade plugin in 3 dropdowns and it works fine, but in
some ocasions I need to pre selected the values because the user is
editing the previous recorded selections.
I manage to selected the value of the first dropdown with the
following code:
$('#chained
Hey guys, I'm working on a status-Updater. It works, there is just
one problem, after sending a Status I have to manual reload the page
to let the script work again. Do you can help me please? Here's the
code:
script language=javascript
$(document).ready(function(){
I want that 10 minutes of my life back... :\
Ha ha. Love it!
I have a IE bug in carousel3d plugin on image click animation after
ajax call. The ajax call return a new set of images html tags, but
only in internet explorer, when click on a
new image. The animation start and go back at it initial position.
here the link of my site --
Here the corrected link for my carousel3d plugin --
http://www.afhrgolive.com/newVersion_AFHRGoLive/jquery/jquery.carousel3d.js
hi.
i´m try with this example:
http://www.malsup.com/jquery/form/#json
but Alert(data.message) return undefinited
why?
tk-.
Why? Simple. Because the variable does not exist. :D
On Mon, Nov 9, 2009 at 7:09 PM, Lord Gustavo Miguel Angel wrote:
hi.
i´m try with this example:
http://www.malsup.com/jquery/form/#json
but Alert(data.message) return undefinited
why?
tk-.
Hi all,
Does anyone know if this is possible? I'm using the jqplot plugin to
create graphs on my page, and when a user clicks on a button, I want
to duplicate the graph in a new window so they can print it by itself.
I'm doing it right now by opening a new window and appending the
original plot,
i don´t understand
i write this:
?php
echo '{ message: ' . $_POST['message'] . ' }';
?
From: Matt Quackenbush
Sent: Monday, November 09, 2009 10:20 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] jquery form...
Why? Simple. Because the variable does not exist. :D
On
My error.
original code:
$('#jsonForm').ajaxForm({ // dataType identifies the expected content
type of the server response dataType: 'json', My code:
$('#jsonForm').ajaxForm({ // dataType identifies the expected content
type of the server response datatype:
I'm not sure I follow what you're trying to do. Do you have a test
page that shows what you've done so far?
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 5, 2009, at 3:37 PM, Jack wrote:
Hello, is it possible to use clueTip to cycle images. I used
it would be helpful to see a page with the html output rather than
your php variables. Also, try using a span rather than a div for the
expandText.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 5, 2009, at 6:04 AM, Kei Simone wrote:
Hi
i noticed
I've been working with Jörn Zaefferer's treeview control, and overall
have found it great. But I am having problem, not as much with
dynamically adding items, but getting them to properly display once
they are added. My treeview is something like this:
Level 1 Item (open)
Level 2 Item
Hello Michel,
Thank you very much for your help. I've used Firebug to verify that
json_encode($tweets) outputs json data. But on another php discussion
thread, they suggested to really verify that only json data is being
encoded, without spaces before and after the data. So I'm going to go
Hey there,
I've read through several AJAX+tablesorter posts and am still a little
confuzzled on this. I am loading an entire table into a div like so:
div id=mainContent
pLoading.../p
/div
script type=text/javascript
$(document).ready( function() {
$.get('/ajaxRates',{},
Hi all,
Now I am able to call jQuery functions from other blocks.
Please help me in solving this one also.
I have a form with select option. It will be populated dynamically after
every ajax request.
In form, I have a select tag with no options.
select id='users'
/select
After getting a
Jack wrote:
Hello, is it possible to use clueTip to cycle images. I used jcycle to
make a slide show based on images in an html page. That works fine.
Now I would like these images to appear in a clueTip. I tried the
clueTip feature that allows you to include a web page so I included
the web
Hi,
I'm hoping I can get a bit of help with a logic issue.
I have a horizontal-scrolling content element (similar to
http://www.ndoherty.biz/demos/coda-slider/1.1.1/#2 this ). It uses three
DIVs with three classes - prev, current, and next. The elements' contents
are loaded from an XML file of
I'd say extend jQuery when you're writing generic plugins that may be reused
in another context, your application-specific code has no business extending
jQuery.
Michel Belleville
2009/11/10 Dave Methvin dave.meth...@gmail.com
Hello, Marty McGee here. I was hoping to open a discussion about
93 matches
Mail list logo