let me first say i'm more of a designer then a programmer but i've
whipped up some jquery to submit a form via ajaxform but i need to
validate can anyone help me out? I'm just looking to do bare bones
validate (make border red on error input field) heres my code
jquery
--
Here is an example found in the documentation :
$.get(test.php, { name: John, time: 2pm } );
How do I go about changing the parameters dynamically.
Let's say I have a function that returns a name. I don't want John,
I want the string retuned from my getName() function
BuckRogers ha scritto:
Here is an example found in the documentation :
$.get(test.php, { name: John, time: 2pm } );
How do I go about changing the parameters dynamically.
Let's say I have a function that returns a name. I don't want John,
I want the string retuned from my getName() function
$('#subscribeform').ajaxForm(function() {
$(this).validate();
function runIt() {
$(#cover).fadeIn(fast);
$(#sform).fadeOut(1);
}
runIt();
Hi,
I tried thinkbox and like it very much, here is a situation I like to
ask:
I use Thickbox to popup a page which does not include Thickbox.js,
when I click 'Cancel' or press escape, the page closes and the old
page was shown at its original state, good. I'd like to put a link in
the pop up
slow is set at 600 milliseconds, which is slow in machine terms but
not human terms!
On Nov 3, 10:54 am, stef [EMAIL PROTECTED] wrote:
heh that made it work, thanks. why?
On Nov 3, 12:57 am, Wizzud [EMAIL PROTECTED] wrote:
Set the fadeOut duration to 3 seconds (.fadeOut(3000);). Does the
Hi,
I'd like to retrieve the value of Height attribute in the following
code(taken from Thickbox):
function tb_init(domChunk){
$(domChunk).click(function(){
var t = this.title || this.name || null;
var a = this.href || this.alt;
var g = this.rel || false;
http://vikjavev.no/highslide/ extra fine jscript... does jQuery have a
plug-in like that?
Hi Karl,
thanks for quick response!
Yes, I noticed that it was too few divs, specially since I needed
several layers for background, tried to add a outer-inner div between
the outer and inner one, but it only resulted in the whole thing
disappearing beneath the title..
In my case, if it helps,
even better:
var myHeight = $(this).height();
- Richard
On Nov 3, 2007 10:14 AM, Richard D. Worth [EMAIL PROTECTED] wrote:
I think you want
var myHeight = $(this).attr(height); // attr is method of jQuery object.
Wrap this first
- Richard
On Nov 3, 2007 8:26 AM, [EMAIL PROTECTED]
Look this
http://parkerfox.parkerfox.railsplayground.net/labs/zoombox/
very interesting plugin, but isn't equal
2007/11/3, Vladimir [EMAIL PROTECTED]:
http://vikjavev.no/highslide/ extra fine jscript... does jQuery have a
plug-in like that?
--
Gabriel Z. Lovison
I've solved this same problem in the past with the wrapText plugin, by
George Adamson:
// Plugin to wrap html around all non-empty text nodes within an element:
(ignores text in child elements)
// By George Adamson, SoftwareUnity.com, March 2007.
$.fn.wrapText = function(html){
return
Hello,
I want re-organize the jquery namespace into a more meaningful
namespace, but I can't make it success, e.g.
html
head
script src=jquery-1.2.1.pack.js/script
script
var company = {};
var company.animation = {}; // Why this didn't work?
company.query =
If I removed the `var company.animation ..`, then code works but I
don't know what's wrong with it...
You don't need a var on that line. You're not creating a new
variable, you're creating a new property on an existing object.
company.animation = {};
We'll need to see a page to know what's going on - that code, alone,
shouldn't cause problems.
--John
On 11/3/07, ja [EMAIL PROTECTED] wrote:
I'm dynamically inserting html into a page that only contains an
image. Such as...
html
body
img src=http://my_domain.com/my_image.jpg/
/body
It isn't. Highslide is a great piece of software that has some great
features.
There isn't something exactly like it in jQuery YET. I hope that there can
be something one day.
There are a bunch of other image library viewers out there like Lightbox.
Hi Dave -
iirc, there was a very basic example on 15daysofjquery.com (around day 10 I
think)
I haven't gone far with it but the examples and demos I played with made it
seem so much easier than I expected
(like everything jquery!)
--
--
Michael Evangelista, Evangelista Design
Web :
Thanks Mike, i tried many if the examples there but couldn't get any
of them to work within my ajaxform when i put { beforeSubmit:
validate } in my ajaxform it breaks and nothing will run. Any
suggestions on the code?
On Nov 3, 6:42 am, Mike Alsup [EMAIL PROTECTED] wrote:
also so you can see a visual of what i have and the function of it go
here www.linkjet.com click on the subscribe button to expand with
jquery if you hit submit it just goes right thru, no validation :(
On Nov 3, 6:42 am, Mike Alsup [EMAIL PROTECTED] wrote:
Hey Michael,
I sorted it and you've seen the result already :-)
Regards,
Dave Buchholz
I-CRE8
http://www.i-cre8.co.uk
Skype ID: I-CRE8
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of MichaelEvangelista
Sent: 03 November 2007 18:34
To:
So I should most probably fetch the title back from cluetip and close
cluetip window when the element has been clicked...
It's got something to do with the HTML that's being loaded via the ajax call
- if I just load some plain text, everything works fine. The text I'm
trying to load has a lot of nested divs. I'll take a look at them for
anomalies.
--
View this message in context:
This code works perfectly in Firefox, but in Safari, after the element fades
in, it fades out again! The alert call only fires once, so it doesn't even
seem like my call to fadeOut is even called a second time.
Here's the code.
function ScrollToDiv(theDivID)
{
$(html,body).animate({
Vanwill,
Use $.jqm() to *initialize* an element for use with jqModal, and then
$.jqmShow() on the element to trigger.
E.g. to display a modal on page load;
$().ready(function(){
// Initialize DOM element with ID 'modalElement' for jqModal use
$('#modalElement').jqm({ajax:
When using fadein or fadeout they both set the element to
display:block - is it possible to tell it to set it to display:
inline instead?
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
If you want to unsubscribe, please go to your Google groups account and
remove yourself.
Thanks,
Rey
Peter Bengtsson wrote:
I'm having problem to find out how to do that
Dont know the keywords to google it
I need an sidebar (like the one on the right at mininova.org) always
showing up at the top of the browser, no mater what part of the page
the user are.
How can I do that? What's the event?
thanks
Feijó
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have a problem with jQuery running on IE 6 and i hope you can help me.
I want to dynamically add / remove child elements (items) all with the
same basic structure to a div container. In order to do so, initially
I have the container with a
you might not need jquery to accomplish that, try:
document.body.innerHTML += YOUR_VAR;
On Nov 3, 11:34 am, John Resig [EMAIL PROTECTED] wrote:
We'll need to see a page to know what's going on - that code, alone,
shouldn't cause problems.
--John
On 11/3/07, ja [EMAIL PROTECTED] wrote:
Is there a relatively simple plugin that takes advantage of jQuerys
expando management that anyone can recommend as an example?
The most promising information I have discovered is in the release
notes of jQuery 1.2 where John mentions jQuery.data() : http://
Online comic, using ThickBox:
http://www.pvponline.com/book
- jake
32 matches
Mail list logo