Hello everyone,
I'm implementing Simplemodal in an application of mine using this code:
$(".dialog-link").live('click', function(e) {
e.preventDefault();
$.get($(this).attr('href'),function(data) {
$.modal(data, {onOpen: open, position: ['10%','30%']});
);
});
(FYI: the onOpen callback just sets some height)
The document return...
how to get the parent div id of current submit form with the ajaxform plugin
I am not having any problems with the success state
Thank you.
below is my code.
<script type="text/javascript" charset="utf-8">
$('.formsubmit').ajaxForm( {
beforeSubmit: function() {
// here want form parent div display loading..
var id = $(this).pa...
I am doing AJAX with JQuery but every time the "onSuccess" event must be executed after another AJAX request disconnected.
Here is the code:
d.ajax({
url: f.options.url.offline,
dataType: "jsonp",
jsonp: "callback",
cache: false,
data: {
status: "offline",
ticket: f.co...
Using JQuery animate I would like to operate with css classes, defined somewhere in .css file, not to have to give all styles params to jquery.animate() explicitly.
I can create a fake (e.g. invisible) element with such a class, read its css properties and give them to jquery.animate() - does anybody know a better way?
...
Here is my JSON object.
{
"verbs" : [
"process",
"refine",
"define"
],
"adjectives" : [
"process",
"audio",
"language"
],
"subjects" : [
"process",
"development",
"technique"
]
}
Here is my attempt to access and process the data via th...
I am using jquery validation plugin. I am using the following function to display default error messages in next td(column) of the element of table.
$(obj).find("form").validate({
errorElement: "div",
wrapper: "div",
errorPlacement: function(error, element) {
error.appendTo( element.parent().next() );
}
});
...
Hello everyone,
I'm running into a bit of an issue when I try to return a link to pull up a thickbox on my page from a simple php echo. Basically what I have is:
A page with a few include statements like:
<?php
include ("display_header.php");
?>
Each one of the include statements just points to a php file that pulls a short qu...
you guys know how google code has made a ajax api for certain javascript plugins/libraries? Well, is there one for the lightbox plugin? I want to use it on my website, but I can only link to it (its not on my local server,) but I can't find a link that only gives my the javascript code and not the entire page's code. any help would be ve...
I'm developing a chat application, and I want to have the application localized according to the particular language in that country. Does jQuery support this, or do I need to use something else for localization?
...
Hello,
I have a jQuery problem, and I've really tried everything I know (i am so newbie at this) so ..
The problem in short is I am doing a simple carousel-like effect. I am using this code.
(The div .showarea is the DIV which needs to be rotated (next/prev) but I want to keep only one div shown at a time.)
This is the html markup.
...
I have recently created a student organization website (i.e. www-sc.xxx.edu/studentorganizations/ourorganization). Our college does not allow us create dynamic websites so I needed to host some of the pages at a different domain (blog, news, etc..). Now, I want to mask that I hosted some websites at an external URL. So, for example if st...
Hi,
I'm using a script that greys out the background with a #mask element and centers my .memError message on the screen. The problem is that my site styles both the body and the html elements-- body is fixed-width and centered within the html element. When I use the script below, the #mask and .memError message are both positioned rela...
Hi, i dont know how ill say this, but i have a Form, in this form im trying to add some fields with jquery (dynamic??) clicking a radio button, so , when im trying the send the data , django said that the fields are empty ... and in the debuger (error pages??) is tru, the fields are empty, but the fields from my Form.py they not.
im new...
I have a hyperlink with an ID when clicked will perform a certain event using JQuery. JQuery records the existence of this link on document load. Some time during the course of the users visit. I remove that link and the re-add it later. However, that even is not fired off again when that link is clicked after it has been removed and add...
So far i was using Safari 4 for testing and debugging my current jQuery Plugin, but as i tried my code out in Firefox it started to complain about something within the JQuery-Framework: "setting a property that has only a getter".
I tried to find out wich line exactly causes Firefox to complain and found out that this happens somewhere h...
Hello,
I understand that with jEditable (http://www.appelsiini.net/projects/jeditable) you can do in-place editing and POST the changed information to a URL.
My ASP.NET MVC view is displaying a bunch of Model information which I'd like to make in-place editable. Currently, I have two views - one text representation and one edit view in...
Hi,
Everyone, I am trying to do read more feature with JQuery's slideToggle thing but the problem is as read more feature normally there is a little text shown on the page and when the user clicks on read more link,button etc. the panel slides downwards and shows the rest of the text but with slideToggle I can't see any start point or s...
Hi,
I'm looking to put a horizontal fisheye/dock nav on my site, but I need it to be fixed positioning... all the ones I've found do not support fixed positioning.
Here are links to some of the ones I've found:
jQuery OS X Dock #1 - Doesn't support fixed positioning
CSS Dock Menu - This is very similar to the one above...
euDock 2.0 ...
I have the following code that just has controls relating to an item.
<ul class="controls">
<li><button type="button" class="button1" value="somevalue"> </button></li>
<li><button type="button" class="optionsbutton" value="somevalue"> </button></li>
<li class="options">
<ul>
<li>Option 1 link</l...
I am using jQuery to validate all of the fields on my Sign up form. Unfortunately the AJAX script at the end is not posting to the PHP file like I intended, also it is not making the necessary changes to the document as specified. When I click on submit, it clears out the error labels like it should, but seems to do nothing else.
Also,...