i am trying to validate fields in modalbox however its not working below is my validation code
$("#formapplication").validate({
rules: {
tb_name:{ required: true },
tb_url: {required: true},
tb_tag: {required: true},
tb_desc: {required: true},
tb_catg: {required: true}
},
messages:{
tb_name:{ required: "Please Enter Full n...
Any one a idea how to simply create a form with Zend_Form and jquery? I want to use Zend_Form to validate the form so I don't have to dual script the form in JavaScript and PHP.
Thank you,
Ivo Trompert
...
I have an input field in which a serial number will be typed. The number of characters allowed is set.
Problem is that because of the letter-spacing, on typing a char in firefox, the cursor will jump ahead to where you would type the next char (even with maxlength set), which has the chars break break out of the little boxes they are su...
Hi,
I'm trying to create a Firefox plugin and I would like to use some jQuery functions. How to include needed jQuery libraries? Some way to include the libraries to the plugin itself?
I need to show a jQuery Dialog type window on various web sites when user clicks a link injected to the page.
Thank you for your answers!
...
hi....does anyone know a detailed and effective Jquery UI 1.7 tutorial out there?
i just can't do it with the demo page alone.
i can't do the drag and drop..
with just doing the ('div#item').draggable();
thanks
...
Hello All,
I want to implement a drawing pane (similar but smaller version to what visio gives for flow charts) in mozilla canvas.
Is there any support for this?
I have used jQuery till now to create the rectangles and move them around. While this is easy here..creating lines (connections between objects) is a real pain. I am using so...
I have a bit of simple created with XAJAX, which replaces the innner HTML of a select control with some options created by a php script.
This is fine and dandy in Firefox, but it does not work in IE7.
Looking on the XAJAX forums i found this which basically says " doesnt really work in IE, use a div and replace the inner HTML of that w...
Why doesn't this work right? The effect I am trying to achieve is the blocks move from left to right, and start "pushing" the next ones along. It seems to be a problem with nested callbacks performing animations on the outer elements.
Can anyone explain this? It sorta works, but everything moves too many times.
<html>
<head>
<style>
.i...
I have a masterpage with a Login Control in it. When the Login button is clicked, I would like for a JQuery Dialog to popup if the user's membership is about to expire within 30 days, else it will just log them in as normal. I can't figure out how to do it. I wll post parts of code:
Here is the javascript:
<script type="text/javascr...
I was hoping this jQuery plug-in would work, but it didn't
http://noteslog.com/post/how-to-fix-the-resize-event-in-ie
I added a comment to his site, but they're moderated, so you might not see it yet.
But anyhow, let me explain my desire. I want a "resize" type of event to be fired when the user either pauses his resize, and/or comple...
I find myself starting to write this:
$($("a-selector-which-returns-multiple-objects")[index]).SomejQueryFunctionForExampleShow()
Because I have one query which returns multiple objects, then the [index] operator returns the DOM object, not a jQuery object, so I convert it back to a jQuery object with the outer $().
This is working fi...
We have a registration form that asks for demographic information with the additional option to not provide any information. However, to keep our numbers adding up properly, we want to require you to enter all information if you select any demographics. A rendering of the form:
Gender
( ) Male
( ) Female
Disabilities?
( ) Yes
( ) ...
Hi everyone,
I have a piece of javascript which is supposed to latch onto a form which gets introduced via XHR. It looks something like:
$(document).ready(function() {
$('#myform').live('submit', function() {
$(foo).appendTo('#myform');
$(this).ajaxSubmit(function() {
alert("HelloWorld");
});
return f...
I have the following DIV markup:
<div id="dialog" title="Membership Renewal">
Your membership is going to expire.
</div>
I have the following javascript to execute the JQuery:
<script type="text/javascript">
function showjQueryDialog() {
$("#dialog").dialog("open");
//alert("Time to renew Membership!");
}
$(document).ready(f...
When you're using the asp.net membership and you have the [Authorize] tag on a controller / Action, sometimes when you get back from getting coffee / a walk whatever, you have been logged out of the site. When you click a button or link that invokes an Ajax call, the returned html is not what you requested but the login screen, which the...
I have several animations that I want to perform on different objects in the dom.
I want them to occur in order.
I do not want to do it like this:
$('#first').show(800, function ()
{ $('#second').show(800, function () {...etc...});
I want to add all my animations(and cpu intensive functions) to some kind of queue object that will m...
I am trying to use both jQuery and Prototype at the same time.
I've spent hours and hours searching solutions to fix this problem. The most common method I found is this http://docs.jquery.com/Using_jQuery_with_Other_Libraries. However, it didn't work no matter how I place the "jQuery.noConflict()" code.
Can anyone help me with this?
...
Hi,
I've been observing some strange behavior with the following code:
$.fn.submit_to_remote = function() {
// I use .each instead of the .submit directly so I can save
// the 'submitEnabled' variable separately for each form
jQuery.each($(this), function() {
$(this).submit(function() {
form = $(this);
if (form.da...
Is it a good idea to learn JavaScript before learning a JavaScript framework library such as jQuery, Prototype, etc.?
Sometimes I find myself struggling because I feel I don't know JavaScript as well as I should.
...
I saw a couple of similar questions here, but what I'm trying to do is a bit different.
I want to have a way to give users some feedback on their actions which can be controlled from both client and server side.
I've build a UserControl with a label (label's text property is exposed) and some JS which hides the label shortly after the ...