i have a form that is dynamically built. so the number of form elements arr not fixed. I wnat to send whole of $_POSt data from the form using jquery to back end for processing .i cant use jquery form plugin as the jquery version i am using is old.
any other way ?
i tied to do like this
$.post('all_include_files/update_save.php',{vari...
Hello
I'm trying to create a div with contenteditable like the Facebook status update. Then I mean I want to show an autocomplete box when the user have written @.
How would you do that. Currently I'm just playing with keypress and check if the keycode = 64. Somehow that works, but it doesn't validate if there's a space before the alfa...
Hi all,
I am learning how to use JQuery to help check data availability.
I have written a function in a Controller for checking data input, and the URL is like this:
http://www.mywebsite.com/controllers/action/avariable
But the returned data was blank.
<script language="javascript">
$(document).ready(function(){
$(d...
i am working on http://gamercity.info/ymusic/
i am using UI slider as seekbar
while the video is played i want to call a seekTo(seconds) function whenever we click anywhere on the seekbar
...
So I have some code,
<div class="chunk" id="">
<div class="chunkContent">
<div class="textLeft" ></div>
<div class="textRight" ></div>
<div class="notes border">Notes...</div>
</div>
<div class="tools fl">
<div class="toggleNotes border">n</div>
<div class="addChunk border">+</div>
...
i want move up the object, delay 1000ms , then hide it,
i get the code:
$("#test").animate({"top":"-=80px"},1500)
.animate({"top":"-=0px"},1000)
.animate({"opacity":"0"},500);
i use ".animate({"top":"-=0px"},1000)" to implement delay, it's not good.
i want:
$("#test").animate({"top":"-=80px"},1500)
.sleep(1000)
...
When writing a JavaScript animation, you of course make a loop using setInterval (or repeated setTimeout). But what is the best delay to use in the setInterval/setTimeout call(s)?
In the jQuery API page for the .animate() function, the user "fbogner" says:
Just if anyone is interested: Animations are "rendered" using a setInterval w...
My code, used to work, but I recently updated jquery-ui to 1.8 and jquery to 1.4 because some things weren't working. Once I did that, those things started working, however, now I notice this one dialog is positioning itself top-center, instead of middle-center.
Let me explain the code a bit first. The code queries an AJAX request every...
Hi
How would I write a selector that would look through say a div of textboxes and find which ones have a value in the textbox(so length would be greater than zero).
Can I do this all in one selector or do I have to get all textboxes then loop through them?
...
I'm trying to work out how to enlarge all elements on a page, but keep the centre of enlargement in the centre of the window.
Example Page (up and down arrows to resize the image, you can also drag the image around)
On this page, once the image reaches the top or the left side of the window the centre of enlargement changes. It also ch...
I'm using Shadowbox a jquery overlay and I wanted to count how many people are actually using the overlay. Thus, I would need a function that would write a counter to a file or sending a query through a php api...
has to be a a php url api because I cant use php on the server where the overlay is.
So I need help with executing a javasc...
This is very similar to a question I asked the other day but my page code has become significantly more complicated and I need to revisit it. I've been using the following code:
$('#myLink').click(function() {
$('#myImg').attr('src', 'newImg.jpg');
setTimeout(function() { $('#myImg').attr('src', 'oldImg.jpg'); }, 15000);
});
To re...
Goal: To implement a jQuery plugin for my rails app (or write one myself, if necessary) that creates a "box" around text after a delimiter is typed.
Example: With tagging on SO, the user begins typing a tag, then selects one from the drop-down list provided. The input field recognizes that a tag has been selected, puts a space and then...
We have a requirement to auto print dockets from a webpage.
We are developing a stock control application using ASP.NET, MVC2 using IE6
Scenerio is as follows:
Once the user has completed the order, a docket should be automatically printed. At the moment, I am using Javascript command "window.print();" method however the print dial...
Hi
Case is I want to prompt a message (Do you want to save changes?) if multiline text box default value is updated on .aspx page before submitting the page. I am using .text() to compare with .val().
It works fine in firefox. .text() shows the default value in firefox but in IE7 and 8 .text() shows updated value (like .val()).
if ($("...
Hey guys, this is my first time actually posting at stackflow but i've used people's answers before. Really a great site.
Anywho onto my problemo. I have some 'li' tags. When I hover the mouse over these 'li's, I need a DIV to appear over the 'li' with some buttons, etc. Basically it's kind of a menu. the 'li's are an unpredictable leng...
Hi,
I have a jquery datepicker with the numberOfMonths set to 3, currently when I click on the datepicker, the left side month is the current month. In most cases, the user is only going to be selecting a date prior to todays date so I would prefer the current month selected to be the last calendar i.e. March, April, May instead of the c...
I have a simple piece of HTML
<p id="skills">Skills</p>
in Firefox 3.6.3 when I call (with JQuery):
$("#skills")[0].innerHTML = "some new text"
Firefox renders it as
<p id="skills"><a xmlns="http://www.w3.org/1999/xhtml">some new text</a></p>
Where in the world is that link coming from??
(note the same thing happens by call...
Hi, I have a page like this :
<div id="daysTable">
<div id="day0" class="day"></div>
<div id="day1" class="day"></div>
<div id="day2" class="day"></div>
<div id="day3" class="day"></div>
<div id="day4" class="day"></div>
<div id="day5" class="day"></div>
<div id="day6" class="day"></div>
</div>
and some ja...
I have been trying to get this effect for a couple of hours now and I must admit I am failing at it. I am trying to construct a DIV that accepts a particular number of items (say 5), when the 6th item is added, the first item that was aded should be removed (first-in-first-out). The feel should have some kind of a fadeIn and fadeOut. Her...