I have run into a bug with firefox and have searched all over and have not seemed to find the answer to an issue I have been having.
My program works great in Chrome and IE, but the iframe charts are not working in firefox.
I'm using a handler and then jquery.ajax to grab at the data and run the script.
jQuery.ajax({
...
Sorry guys, I should have posted the script directly without cleaning it. Please check the updated script, it should now clear things up. Thanks!
Consider the following JavaScript :
var selected = 0;
var options = 0;
$('.newListSelected').each(function() {
selected = $(this).children('.selectedTxt');
selec...
I am trying to use link_to_remote with :with parameter so I can pass my parameters but I am using jrails and it seems it doesn't work. I use it another spot with jrails and prototype and it worked fine. Here is my code in jrails where I don't use prototype:
<%= link_to_remote render(:partial => "back_button_text"),
{:url => { :contro...
Hi guys,
I'm using jQuery and the cycle plugin to simply rotate some images.
On a mouse even I ask it to pause,
$('.content-main-imgholder', this).cycle('pause');
My question is how can now detect if the cycle is paused? i.e.
if( cycle = pause ) {
//do something
}
Thanks in advance for your help.
...
Hi,
I have a page that display some data. It is loaded from a database using php and mysql, I use zend framework to handle all this.
On this page I have two things that use jquery. one is a paginator and the other is a thumps up function.
the paginator works fine. It receives the data as json and applys it to the view. all the functio...
I've read this but didn't get much info from it or I don't know what to do with it.
How can I use $.ajax to just get the mentions feed of my account on to my site?
Edit: How do I process the data now...?
For example, how should this part look?
$('status', data).each(function() {
// Process each status here
});
Thanks!
...
<select>
<option>1</option>
<option>2</option>
<option class="test">3</option>
</select>
$('.test').attr('selected', 'selected');
The select box above would choose the third option as default without any issues. However, if you check the elements with Firebug there isn't any selected="selected" attribute present within th...
I've got a jQuery function that retrieves a JSON response from a PHP page. One of the parameters passed to getJSON() is a year. If I pass an int (2008) Firebug reports a 404 error and the getJSON call fails, but if I pass a string (x2008) Firebug reports a 200 code and fires the callback. In both cases the PHP page returns an identical r...
Hi,
I want to get the url with javascript. But I just need http://www.mysite.com, without any parameters behind it. any idea how to get that?
...
I am making an AJAX request via jQuery's $.ajax() method.
I have specified a success callback using :
$.ajax({
...
success: function(data, textStatus, xhr) {
...
}
});
Is it possible to see in the callback what request headers were sent ? For example, to retrieve a specific request header value ?
EDIT: The requir...
Hi,
I used the following example to display a website in an iframe on my website. I use the following code:
$(document).ready(function() {
$('a#verd').click(function(e) {
e.preventDefault();
var $this = $(this);
var horizontalPadding = 30;
var verticalPadding = 30;
$('<iframe id="externalSite" class="externalSite" s...
So I have my first MVC2 site that I'm working on and naturally I'd like to throw some AJAX in there. The problem is, is that I don't know how to get the URL for the action when passing in a URL parameter. Let me explain. The examples I've seen so far show the developer passing in strings like '/MyController/MyAction'. That's great, e...
I've been striving to use Stylish Select Box with elements created after page load without success. In order to understand the issue, you'll need to re-produce it first. I know the following might seem a bit annoying but please continue reading if if you have 5 minutes of spare time.
Alternatively, you may obtain a completed example her...
I have a form with a textarea (tinymce) for input content. When I perform an ajax request, I got the error:
A potentially dangerous Request.Form
value was detected from the client
Then I've tried something like
html.encodeURIComponent() or escape() but the error is still here
HTML:
<form id="editForm" action="" method="post">
...
hi
i want a jquery or simple javascript script than gives us a control of autocomplete textbox with images with multiple selection option using delemetre
for example i have to add two users of website into a group .. so i want that when i enter a first letter of a name user picture and name will be further i want that i could add multi...
I want to make a HTTP request in order to receive the contents of the home page of the logged-in user of facebook.com inside my Facebook App. The app loads inside an iframe. I am using the Cross-domain Ajax mod for jQuery made by James Padolsey: http://james.padolsey.com/javascript/cross-domain-requests-with-jquery/ . This mod works fine...
Hi.
I have a menu which shows certain information such as message_count, notifcation_count from django, and also a user profile that makes use of a load of jquery ajax functions to get information when a user clicks a url reference.
one of these reference relates to a users messages that he can view in his profile, without being redire...
Hi. I tried to open a post time ago about this problem (here), thinking i was wrong making the code. Now more or less i've understood that some version of Jquery with my code doesnt work on IE7. What's Happening? I also tried to open a post on JQuery official forum (link) but no one reply. Anyway, in my old website i used to work with jq...
Hi,
I have been working on this for 1 hour with no such luck. Any help would be appreciated.
I have a cgi script with which creates these select param values:
print "Please select a dkversion to compare : <br><br>";
print "<select name='dkversion' id='dkversion' size='6' multiple='multiple'>";
foreach my $values ('ASDF123GS v0.01 mod...
Hi All,
I am naive jQuery programmer, so somebody please help me out with this problem. The first example shows what i am doing and its working. But my dilemma is that the list is created by parsing a XML. If so how would i parse the xml, find the 'title' attribute and then load the corresponding url into a Div. Thanks in advance...
jQu...