jquery

Problem jquery and tinymce : textarea value doesn't submit

I am using jquery and TinyMce to submit a form, but there is a problem in serialization in that the Textarea value doesn't post. Here is the code: <form id="myForm" method="post" action="post.php"><textarea name="question_text" id="question_text" style="width:543px;height:250px;"></textarea></form> $('#myForm').submit(function() { ...

Trouble with jQuery's .animate()

I am using .animate() to smoothly reposition a few divs after they've been made visible via .show("slow"). Since the divs may or may not still be doing the animation, I'm also using .queue() to make sure the move takes place after the animation's done. Problem: .animate() doesn't work. It gets to the right line of code, but doesn't do a...

How to distinguish browser back / forward button?

Is it possible? even better, is it possible with jQuery? I need to know whether use click back button or forward button so I can use page transition effect correctly, eg. slide from left - right if they hit forward and vice versa. ...

slide show with css and javascript

hi every one just i want to make imsge slide show with help of css,javascript or jquery like http://www.webguide.nl/internetbureaus/mediaweb-internet-integrators/deltalloyd-regatta.3878.lynkx?pageStart=1. this is in flash but i want it the image come dynamically from database in php. can any one help me please . ...

How To Make A jQuery Async Multi-Response From One PHP Script Run

I have a run.php that has a button on it called "Run". Clicking it does a jQuery $.get() AJAX call back to a response.php on the server, and sends the result to a Javascript callback function getResponse(sData) inside run.php's HTML for display back on the browser. I want to have things such that as response.php runs through a list of ta...

Is there any benefit to update new version of jquery library on each release to my site?

Is there any benefit to update new version of jquery library on each release to my site? Can my other added jquery code and plugins stop work on new library added? ...

Call a function if a variable contains any items in an array?

How can i call a javascript function if a string contains any of the items in an array()? Yes, i can use jquery :) ...

How do I select all text contained in <pre> using jQuery?

Hi, I have a contentEditable iframe with line numbers and text. The line numbers are contained in a div and all text is in a <pre>-element. It looks like this: <body> <div id="line_numbers"> <div>1</div><div>2</div><div>3</div> </div> <pre> Text </pre> </body> Now, when someone presses Ctrl+A everything is selecte...

execute a jquery plugin?

i've got a plugin that binds to a selector eg. a button. and when i click on the button then the function executes (showing a windows where i can choose a picture to upload). the code looks like this: $('#image_upload').uploadify({ 'uploader': '../../frontend/jquery/plugins/uploadify/swf/uploadify.swf', 'script': ...

javascript validation query

$("#submit_js").click(function() { $.post( "user_submit.php", {score: $('#ques'+qn).find('input[name=vote]:checked').val(), uid:$("#uid").val() }, function(data){ i didnt post the complete function. but that is out of scope. i need to ask how can i validate that the user has chosen a radio button? can som...

How can I use jQuery to make a validation icon appear somewhats slowly, fading in.

Here's what I have so far but thing aren't really working. (I dragged the jQuery.js file from the Solution Explorer to the area of my html. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SignUpFormTest._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.o...

Set Global Variable in jQuery

How to set global variable. $(document).ready(function() { $("a.action").click(function(event) { var tempResponse = ""; $.get("", function(response){ tempResponse = response; }); alert("response " + tempResponse ); } //todo use response to man...

Trying to upload a file with ASP.NET MVC Error invalid character in a base-64 string

Try to upload file using asp.net mvc error occured "invalid character in a base-64 string". ...

Autocomplete with jquery and codeigniter php MVC

Hello everybody, I'm trying to build an autocomplete using jquery plugin autocomplete from this site. Now I managed to achieve autocomplete using local results pre-loaded into website as a part of document ready function, its quite easy doing it localy. Here is with what I struggle with, pulling results from php file. Here is how I tr...

How to Pass json data to jquery autocomplete

Hai guys, Can someone help me to pass this json data to jquery automplete plugin... As i am a newbie to jquery i dont how to do it... [{"0":"1","id":"1","1":"Albania","country":"Albania"}, {"0":"2","id":"2","1":"Algeria","country":"Algeria`"}, {"0":"3","id":"3","1":"Angola","country":"Angola"}, {"0":"4","id":"4","1":"Anguilla","coun...

Tips when moving from YUI Datatable to Jquery Datatable

Hai guys, I thus far used YUI Datatable to render all my records... Since Jquery is very popular nowdays and a lightweighter one than YUi .. I ve decided to use it... What are the Learning curves when moving from YUI to jquery? Tips and tricks about Jquery Datatable? Can i configure paginator in jquery datatable? ...

last element with a class name in a div

how can i get the last div with class a in a div the id = test ? in this case i have to get the div with content = 1000 <div id="test"> <div class="a">1</div> .. .. <div class="a>1000</div> </div> ...

I want to load different images to a div, from links

Hiya, very very new to jQuery and surviving on your wonderful tutorials. I'm working on my portfolio website, and have a list of projects that uses jQuery's load function to load descriptions of each project into a separate div when clicked. Within each description is a set of numeric links, say 1-5, which I want to display relevant ima...

jQuery background-image animation

Hi, How do I animate between two PNG images in jQuery? Is this possible? Something like the CSS 3 transition when you transit between one color to another, but I need an image to an image transition. ...

Using SimpleModal and ASP.NET MVC

Hi - I am using Simple Modal with asp.net MVC. I have set it up using the OSX demo, which loads a view into the dialog. The javascript I am using is: jQuery(function($) { $("input.ema, a.ema").click(function(e) { e.preventDefault(); $("#osx-modal-content").modal({ appendTo: 'form', overlayId:...