I have been searching all over the web, i could only found the inettuts-with-cookies, which teach how to use Jquery to perform drag and drop and then save in cookies. Can anyone please show me how to save to database (php and mysql)? I need it badly..
EDIT:
First, I am not php beginner, but a AJAX beginner. Those tutorials are only fo...
I am trying to POST data back to the server and get a dataset back. What I am getting back instead is the HTML for the whole page AND it is not kicking off the Action in my Controller. And yes - JQuery is still confusing to me.
The code I currently have is:
function updateNavIndex(pageIndex) {
var filters = $("form").serialize();...
I'm trying to use the ":visible" and ":first-child" pseudo-selectors together in jQuery and it doesn't seem to be working out. I have the following HTML:
<div>
<a class="action" style="display:none;">Item One</a>
<a class="action">Item One</a>
<a class="action">Item One</a>
</div>
And the following jQuery call:
$("div a....
I am currently playing around with the FCKEditor, and I am trying to replicate how stack overflow shows exactly how your post will look in HTML as you type it up. My FCKEditor creates just fine, I just don't know how to go about accessing the editor data once it is created. What I want to do is get the html from the editor and then put...
$('.Schedule .Full input').each(function(i)
{
var controls = $('.Morning input, .MorningPart input, .Afternoon input, .AfternoonPart input', $(this).parents('.Schedule'));
alert(controls.length + " Conflicting Controls\n"+
$(this).parents('.Schedule').attr('id') + " Parent");
});
When I run this code in ...
Still working through JQuery to get data and repopulate portions of a page. Right now I cannot get it to return data but it does pop an error saying "data is undefined".
Code:
var retrieveData2 = function(path, productGroup, productType, itemsPerPage, pageIndex, filters, fnHandleCallback) {
$.getJSON(path
, { productG...
I almost figure this out, can anyone tell me as to why my $.unblock never executes?
$(document).ready(function() {
$('#somedropdown').change(function() {
$.blockUI({ css: {
border: 'none',
padding: '15px',
backg...
Hello guys,
I'm trying to implement a 'fade into' script which would affect two images :
<script type="text/javascript">
$(document).ready(function(){
$('img').mouseover( function() {
$(this).fadeOut(200, function() {
$(this).attr({'src':'http://example/images/image.png'});
...
Hi, I have a page with a list of links and a div which serves as a placeholder for the pages the links lead to. Everytime user clicks on a link an iframe is created in the div and its src attribute gets the value of the link href attribute - simple and clear, sort of external web pages gallery.
What i do have a problem with is printing ...
I have a template that gets screenscraped from an outside vendor and need to include absolute paths in the navigation so the externally hosted content will properly link back to our site.
Right now the page/template is driven by a global menu app written by our back end development staff... so anyone who updates our site goes in and cha...
Hello!
I need to implement a certain kind of string truncation where a string splits in the middle and its left part becomes resizable. Here is what it might look like:
"Lorem ipsum dolor sit amet. Ut ornare dignissim ligula sed commodo."
becomes
"Lorem ipsum dolor sit amet ... commodo."
I am open to solutions using pure CSS or with...
The file should be uploaded in the background via Ajax or Iframes. I should be able to detect via javascript when the upload has completed, so I can hide the loading graphic and redirect the user to a new URL. Using Jquery is fine.
...
Please look at the code at the end to see the method I've been using to wire up events in my jQuery code. I prefer using bind and as you can also see I don't like using Anonymous functions in my event handlers.
I'm using named functions because of the following two reasons:
Readability
Multiple calls to my WireUpGlobalCommandClickEve...
I have alot of experience writing internal Intranet applications, but very little when it comes to writing public facing web applications where it is likely that a certain percentage of people will try and be malicious.
The app is written with MVC.net, JQuery and Subsonic.
What steps can I take to project my application, to make it rea...
Hello,
my question is the following
what would be the best way to insert a div container and the next one after the last inserted one
<div class="pane">
<div class="inhoud">
<h3>Sample heading</h3>
<p>Testbericht. </p></div>
<form id="noteform" class="frm">
<input type="image" src="images/kn_verwijder.gif" alt="delete" cl...
I've read all the answers on to this questions and none of the solutions seem to work.
Also, I am getting the vibe that triggering keypress with special characters does not work at all. Can someone verify who has done this?
edit:
the solution does not work. Try it in firebug on stackoverflow:
e = jQuery.Event("keydown");
e.which = ...
I'm using the jQuery library to have an ordered list with the ability to re-order items with drag and drop. I want to send the information of the order to the database and the next time you refresh the page (or load it on another browser/computer) it would have your order.
I have a table for each element of the list in mySQL and right n...
Hi all,
I was looking for a jquery plugin that'll filter a table according to input values.
I came across http://rikrikrik.com/jquery/quicksearch/, but i can't figure out how to make it work for an already existing input box.
Currently it create a new input form for me (which i don't want) but i'd like to be able to use it with an exis...
I have the following code:
//------------------------------------------------------//
// When the document is ready, start firing our AJAX //
//------------------------------------------------------//
$(document).ready(function() {
$("#navIndex a").click(function() {
this.blur();
return false;
});
$("#navP...
Hi,
I'm trying to scroll down 100px every time the user gets near the top of the document.
I have the function executing when the user gets close to the top of the document, but the .scrollTo function isn't working.
I put an alert after and before to check to see if it actually was the line or not that was stopping it and only the fir...