I need my dialog to open when the page is loaded automatically. What is the way to do it using jquery. Without any user interaction to open it.
I tried this code but it dint work
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen,projection" />
<script type="text/javascript" src=...
<script type="text/javascript">
$(document).ready(function() {
$(".module .caption").hide();
$(".module").hover(function() {
$(this).find(".caption").slideDown().end().siblings('.module').addClass('under');
},function() {
$(this).find(".caption").slideUp().end().siblings('.module').removeClass('under').delay(10000);
...
dynamictextareas.push({guideid:targeteditorID, guideitemtext : textareacontents });
alert( JSON.stringify(dynamictextareas) );
See anything wrong with this JSON2 javascript code?
For some reason this come is making a mess of things. I want to push:
<p>DDDDDD</p>
But instead it's pushing:
[{"guideid":"1","guideitemtext":"<p>\u000a...
I have a text area. I can set the text of it with
$("#mytextarea").text("foo")
I can prepend to the text area like this:
$("#mytextarea").prepend("foo")
But I cannot prepend to the jquery text() object like this:
$("#mytextarea").text().prepend("foo")
The reason I want to do this is so that if my user gets me to prepend this te...
What is the recommended way in JQUERY to send a dynamic set of data to the server, the set contains items like:
ID: 13
Copy: hello world....hello world....hello world....hello world....
ID: 122
Copy: Ding dong ...Ding dong ...Ding dong ...Ding dong ...Ding dong ...
ID: 11233
Copy: mre moremore ajkdkjdksjkjdskjdskjdskjds
This could ra...
Hi folks. Why all elements turn red? I only intend to turn <p> red.
<ul>
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
</ul>
<p>a paragraph</p>
<script>
$('li').add('p').css('background-color', 'red');
</script>
...
Hello.
I would like to know if there's a combo like jCryption (jCryption) - PHP but for jQuery - ASPX.
I mean, I have been searching for a combo to send data both ways (Client-server, server-client) with jQuery to ASPX. The best I found was jCryption that sends data from JavaScrpit to PHP. I need a combo to send data from JavaScrpit to ...
How to serialize and unserialize the form elements in Jquery?
...
I am using this jQuery based jWysiwyg.
http://code.google.com/p/jwysiwyg
How do I pass the value of $('#wysiwyg').val() to php script. For example to show the value of jwysiwyg in an alert box, I am using
<form name="form1" method="post" action="sendmail.php">
<textarea name="wysiwyg" id="wysiwyg" rows="5" cols="103"></textarea>
...
how can i add pause and play functionality to the code in this link? http://svay.com/experiences/mouse-recorder/
currently here you can play and stop only.
...
We use Captcha control in a registration form that we make full client validation for all fields in JavaScript ( JQuery ) beside server validation ..
I tried a lot of ways but all will write the Captcha value in JavaScript that can be accessed by anyone :(
I search if is there any way that allow me validate Captcha value in client side...
Just out of curiosity, as I haven't been able to find anything anywhere; does anyone know of a way to get jQuery UI's sortable function to animate its sorting?
What I mean is, when you move an element around the sortable parent, its children, the sortables, skip around instead of smoothly animating to their new position, which besides f...
Hi,
I don't know well jquery ui.
Is exist plugin for printing jquery dialog content/some code (Only print dialog content and not all webpage)
Thanks
...
hi all
I need to select each list item and change the background image of the parent div homepagecontainer but I can't even select the li element in my script. Here is the code:
<div class="transparent" id="programmesbox">
<ul id="frontpage">
<?php
query_posts('showposts=20&post_parent=7&post_type=page');
if (have_posts()) : while (...
I need to have an autocomplete functionality using jquery, and I've encountered ZendX_JQuery which has such functionality available.
However, I've noticed that the entire ZendX_JQuery classes, are a bit old (the default jquery version is 1.3.2, and jquery ui 1.7.1). (see http://framework.zend.com/svn/framework/extras/branches/release-1....
Twitter will pop down a message bar at the top of the screen say "Wrong password" and after 10 seconds, it will slide up and disappear. Chrome also shows "Do you want to save the password" message box using such a way.
Does jQuery have a plug in to do that already? Does it also work in IE 6? Because usually, the display of relative to...
Hello, I have a function using $.ajax() to get values from an XML file, when the info is loaded and success event is fired, I use $(xml).find('').each(function(){}); to populate some vars...
function getData()
{
$.ajax({
type: 'GET',
url : 'info.xml',
dataType: 'xml',
success: function(xml)
{
...
Hi
I finally have this working now but would like to know how I can use JQuery's animate function to make the background image changes fade in nicely when you hover over the list items on the homepage:-
http://www.thebalancedbody.ca/
The Code to make this happen so far is:-
$("ul#frontpage li#277 a").hover(
function () {
$...
i'm using jQuery validate() plugin to validate a form. it does the validation but how do i perform a set of function if there are no errors?
i've tried this
$(document).ready(function() {
$('form').validate({
submitHandler: function(form) {
$.post('php/contact.php', {
name: $('form #name').val(),
...
This is a loop in a function intending to create elements <li> and give each <li> an unique id. But it's not working. I suspect it's a simple syntax error with the use of quote in .attr(). But I can't get a straight answer from Google.
for (i=0;i<array.length;i++)
{
//create HTML element of tag li
$('#suggest').append("<li></li>");
$(...