').ajaxForm( function(data) {
var imageLoc = data.exec(/!-- id=(\d+) --/);
if ( imageLoc )
$(#create_image_location).val( imageLoc[0] );
// ...
});
I'm assuming, based on your other emails, that you're using the Form Plugin.
Karl Rudd
On Thu, May 15, 2008 at 3:18 PM, hubbs [EMAIL
({
success: function(data) {
$('#uploadOutput').append( data );
}
});
The data argument in the success function is what holds the response.
Karl Rudd
On Thu, May 15, 2008 at 10:11 AM, hubbs [EMAIL PROTECTED] wrote:
Ok, I am confused. Here is the jQuery script from
I am using the jQuery ajax function using GET to load data into a
div. Part of the page contains a WYSIWYG editor, which contains alot
of javascript code. When I try to load that page, it starts to load
it, but then basically refreshes the page, and just sits there and
tries to load something.
use AJAX to bring in pages of active content,
that is HTML _and_ JavaScript. There's lot's of issues you'll have to
deal with and it's usually easier to load HTML and JavaScript content
in separately.
Karl Rudd
On Fri, May 16, 2008 at 9:56 AM, hubbs [EMAIL PROTECTED] wrote:
I am using
I am using the cycle all plugin, and I am wanting to make the site
work in IE6. Of course it works in every other browser. But IE6 it
does not work at all, and I get the object doesn't support this
property or method error, for the following code:
$(function() {
// run the code in the
12, 9:49 pm, Karl Rudd [EMAIL PROTECTED] wrote:
Yeah the iframe is the way to go, that's the way the plugin does it.
Karl Rudd
On Tue, May 13, 2008 at 2:23 PM, hubbs [EMAIL PROTECTED] wrote:
I see.
Is there a way that I can still use ajax post, but submit that to an
iframe
I am needing to pass quite a few other options. Since it is
submitting into an iframe, would the normal form POST happen here? Or
do I need to pass the value of those field into a var, and pass
those?
On May 14, 5:33 pm, Mike Alsup [EMAIL PROTECTED] wrote:
If you know your response is always
Ok guys, I appreciate all the help!
I have just one more thing. I am using the following script:
script type=text/javascript
$(document).ready(function(){
$('#page_asset_builder_20248').ajaxForm({
success: function(data) {
$('#uploadOutput').append( data );
}
I have a variable that is set on another page, and then is brought
through ajax into another page. On that page, I would like to copy
that variable into an input field. I thought I had the code correct,
but for some reason, it is not working.
script type=text/javascript
function
.
Karl Rudd
On Thu, May 15, 2008 at 2:56 PM, hubbs [EMAIL PROTECTED] wrote:
I have a variable that is set on another page, and then is brought
through ajax into another page. On that page, I would like to copy
that variable into an input field. I thought I had the code correct
So, do these plugins actually create the iframe for me? What do I
have to do to get it to submit it into the iframe? I how do I specify
which script processes the post into the iframe?
On May 13, 1:50 am, Quinode [EMAIL PROTECTED] wrote:
On 13 mai, 05:44, Karl Rudd [EMAIL PROTECTED] wrote:
Does jQuery have a nice and easy way to preload images? I am going to
be having a page where I roll over a persons name, and their image
appears, and I am thinking that I am going to need to preload those.
Any ideas?
Perfect! Thank you!
On May 13, 9:58 pm, Karl Rudd [EMAIL PROTECTED] wrote:
http://plugins.jquery.com/project/Preload
Karl Rudd
On Wed, May 14, 2008 at 2:19 PM, hubbs [EMAIL PROTECTED] wrote:
Does jQuery have a nice and easy way to preload images? I am going to
be having a page
I have set up a form that uses the $.ajax function using POST. Part
of my form is an image upload dialog, using the standard file upload
input box. The problem is, the upload is not working, and I think it
has to do with the encoding. When I upload it with ajax, it just
sends through the path
this plugin:
http://plugins.jquery.com/project/form
Karl Rudd
On Tue, May 13, 2008 at 1:38 PM, hubbs [EMAIL PROTECTED] wrote:
I have set up a form that uses the $.ajax function using POST. Part
of my form is an image upload dialog, using the standard file upload
input box
I wrote a small script that brings up a confirm dialog, and if the
user clicks ok, it will hide a div, and then post a URL. I am using
the assetid argument from my function, and I want to use that with the
jquery .hide function, but it does not seem to work. What have I done
wrong? It seems
is that otherwise, jQuery is looking for tagNames 'a221' which
won't find anything. The selector needs that # to know to look for an id.
-- Josh
- Original Message -
From: hubbs [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, April 29, 2008 11:39 AM
I am loading in some content using .load, and have also used the
normal ajax function. It seems that all my javascript that is within
this content is being stripped out when I view the generated source,
is this the case?!
If so, can I get around this?
/charles/) to view the raw data moving between the browser and
server during the call.
On Apr 29, 7:45�am, hubbs [EMAIL PROTECTED] wrote:
I am loading in some content using .load, and have also used the
normal ajax function. �It seems that all my javascript that is within
this content
I am trying to add a class to the first child in IE6 because the css
first child does not work in IE6.
So, here is what I used:
$(#subnav li:first).addClass(ieTop);
But it does not seem to work, any ideas on what I did wrong? Or does
IE6 not play well with jQuery?
regardless.
On Apr 29, 10:33 am, hubbs [EMAIL PROTECTED] wrote:
I am using Firefox and web developer toolkit, then viewing generated
source.
Hamish Campbell wrote:
How are you viewing the generated source?
Bare in mind that just because you can't see javascript in the browser
I would like to know how to append a new option to a select list. I
would also need to retreive the option value and value between the
option/option tags, and create a new option:
select name=non_academic id=non_academic
option value=/option
option value=19368ghhfh/option
option
I am using ajax to post a form that has an image upload input field.
I tried getting the value as I do with other inputs, but it does not
seem to work, and returns undefined:
var imageUpload = $(#image_0).val();
input type=file name=image_0 class=sq-form-field /
Am I missing something here?
as image_0.
the selector is actually
$('[name=image_0]').val();
so try:
var imageUpload=$('[name=image_0]').val();
You understand why right?
On Apr 22, 1:57 pm, hubbs [EMAIL PROTECTED] wrote:
I am using ajax to post a form that has an image upload input field.
I tried getting the value as I
I cannot get it to work, here is what I tried:
function loadTest() {
$.ajax({
type: GET,
url: home.html,
data: ,
success: function(html){
$(html).find(#footer);
$(#loadTest).append(html);
}
});
Any help would be appreciated!
On Apr 20, 10:22 pm, hubbs [EMAIL
){
$(#loadTest).append($(html).find(#footer));
}
});
that should do it. but why would you pass an empty string of data?
On Apr 21, 9:39 am, hubbs [EMAIL PROTECTED] wrote:
I cannot get it to work, here is what I tried:
function loadTest() {
$.ajax({
type: GET,
url
Hi Rick,
No, I am not using this an an include. This is to pull content from
my server, but filter the results. The footer ID is just being used
an a working example I am making, it won't be the final.
On Apr 21, 6:17 am, Rick Faircloth [EMAIL PROTECTED] wrote:
It seems he's trying to use an
: home.html,
data: ,
success: function(html){
$(#loadTest).append($(html).find(#footer));
}
});
that should do it. but why would you pass an empty string of data?
On Apr 21, 9:39 am, hubbs [EMAIL PROTECTED] wrote:
I cannot get it to work, here is what I tried
Here is my problem.
There are 2 iframes on my page, that I need to assign an ID to, and
then I need to get the innerHTML from each. For some reason, I can't
get jquery to add an id to the iframe at all. I tested it using div,
and that worked fine. Can you not set an id for an iframe?
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hubbs
Sent: Monday, April 21, 2008 1:41 PM
To: jQuery (English)
Subject: [jQuery] Targeting iframes, adding id, and getting content
Here is my problem.
There are 2 iframes on my page, that I
the document element. You can then do this:
$('iframe:first').contents()[0].documentElement.innerHTML
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hubbs
Sent: Monday, April 21, 2008 1:41 PM
To: jQuery (English)
Subject: [jQuery] Targeting
I am using the ajax POST from the examples on the jQuery site.
$.ajax({
type: POST,
url: some.php,
data: name=Johnlocation=Boston,
success: function(html){
$(#results).append(html);
}
});
I would like to add the load option onto this, so that I filter the
server response,
On Apr 20, 3:28 pm, Sephi-Chan [EMAIL PROTECTED] wrote:
Hello,
You can look the code of the load function in the jQuery source. It's what i
did few days ago whereas i want do this (filter the response).
I make something like this :
$.ajax({
url : 'remotePage.php',
I was trying to figure out if it is possible to use ajax to just load
in an image, rather than loading in an html page that contains the
image tag? I know that there is a way to assemble the tag, and then
write it, but I am not sure. Any help using jquery?
Could anyone help with this? I figure that I should be using
the .find function, but I am not sure how to use to to filer my
response text, and only display the id that I want. The example seems
to not be working, or I should be changing it somehow, and I am not
sure.
Anyone?
, hubbs [EMAIL PROTECTED] wrote:
Could anyone help with this? I figure that I should be using
the .find function, but I am not sure how to use to to filer my
response text, and only display the id that I want. The example seems
to not be working, or I should be changing it somehow, and I am
101 - 136 of 136 matches
Mail list logo