I have a div with the overflow: auto style. It is populated via AJAX with a result table. The rows in this div are editable, and with each edit I refresh the contents. The problem is, if the user edits something at the bottom of the div, the refresh brings them back to the top.
I had some luck using anchors with Firefox, but not all ...
Hi,
I'm using a very lovely and simple plugin called jFlow that gives me a basic content slider etc. However, I can see no documentation or help on how to get two (or more) on one page at the same time working seperately from one another.
At the moment, if I set two up, they almost combine as one, despite having a different configurat...
Hi all
I am using a combination of PHP, jQuery and Spry to serve a series of listboxes in which a user will select first the type of vehicle, then the make, then the model and finally the specific model.
All my listboxes (SELECT) are working fine, and they update properly using the Spry elements. Each listbox is populated from a diffe...
The code:
Html:
<p>View full-size photo <a href="iframeModal.html?placeValuesBeforeTB_=savedValues&TB_iframe=true&height=500&width=800&modal=true" title="The descripttion goes here." class="thickbox">here</a>.</p>
Iframe:
<input id="Login" value=" Ok " onclick="self.parent.tb_remove();" type="submit">
Am I ...
Hi guys, I would like to create a jQuery menu with dynamic content using the jQuery ui.
My question is, I have images for tabs, and each one is different, so each one's roll over is different, how could I design it to display each unique tab's active state when that specific tab is clicked?
Thanx in advance!
...
I'm using a content slider plugin that is nice but lacks one important feature: does not stop auto-rotating slides on mouseover.
Here's the relevant part from the script:
var dotimer = function (x){
if((opts.auto) == true) {
if(timer != null)
clearInterval(timer);
timer = setInterval(function() {
...
Webkit Develoepr tools says the following Javascript Error:
Unsafe JavaScript attempt to access frame with URL file:///D:/wamp/www/projects/c1-marching-band2/instruments.html from frame with URL file:///D:/wamp/www/projects/c1-marching-band2/iframeModal.html?placeValuesBefore. Domains, protocols and ports must match.
file:///D:/wamp/www...
Hello guys.. it's i first time i'm asking here. Sorry if the answer is available already.
I have a very small jQuery script that canges the paramether for onclick attr on a DIV.
IT works like as right and left arrows for some content in the middle.
Basically i set the onclick="foo(1)" then when get clicked sld change the value 1 to 2,...
I am looking for a file uploader similar to uploadify with progress bar that doesn't rely on flash, preferably using jQuery - is this possible?
...
In the following function it goes through the if and the else, why is that?
function test(){
$(".notEmpty").each(function() {
if($(this).val() === ""){
alert("Empty Fields!!");
return;
}
else{
AddRow_OnButtonClick('tblMedicationDetail',6);
}
...
So I have dynamically generated content from a MySQL database and I pull it with php. To show what I mean look this example.
Goto http://minecraftadmins.net/browse/
See Skin Preview? I want to make it so when you click it, it opens a jQuery popup with content generated from an external source (AJAX). I know how to make a popup. But it d...
I have a problem as I'm conditionally including the Prototype-based Lightbox script for IE6 as it works better than the jQuery plugin.
Of course the two libraries conflict but the official solution is not really feasible for me as i would have to replace tons of $ with the alternative no-conflict syntax.
Is there any other solution for...
Hi There,
I have an an ajax request that looks like this,
$('input.fakecheck').click(function(){
alert("deleteing....");
$.ajax({
url:"/search",
type:"POST",
data: $(this).attr('name')+"="+$(this).attr('value')+"&remove=Remove",
success:function() {
alert(data);
}
})
})
This calls a php function which l...
JsHelper cant to use in elements ? I try use it (JsHelper) but not work.
And one other question: was AjaxHelper deprecate in cakePHP 1.3 ?. I read document but dont see notice, i only see JavascriptHelper was deprecated.
...
To simplify this test case, I created a new default .NET MVC project in Visual Studio 2010, and added the following code to the HTML header in Site.Master:
<script type="text/javascript" src="../../Scripts/jquery-1.4.1.js"></script>
<script type="text/javascript">
jQuery(document).ready(function () { alert('jQuery document ready'); })...
Im trying to display a loading gif before submitting a multipart-form (file upload), this is my code.. but the image is not displaying.. if i remove the submit() it displays, so.. is not a path or syntax problem.
$('#btnSubmit').click(function() {
document.getElementById('loader').innerHTML = "<img src='<?= url::base() ?>themes/img...
hi,
can I remove with jQuery only the text in a node but not the children elements ?
thanks
...
I am trying to save some css information into cookies with the below jquery script.
Everything is perfectly fine for Firefox however IE throws an error on jquery Line 4618, whenever i include this file
jQuery(document).ready(function() {
// cookie period
var days = 365;
// load positions and z-index from cookies
$("div[id*='t...
hi.i wrote a jquery function and now i want to use it as a plugin so i could use that more than 1 place.the code lookes like this:
function loadTable(){
$.post("includes/action.php", {action: "gettable"}, function(html){
$("#tblstudents tbody").html(html);
$("#tblstudents")
.tablesorter({widthFixed: f...
Hi thereive got a jquery function that attempts to change the id, name and class of an elements
the id and class change seems to work but for some curious reason, trying to change the name of the element never works, the code is below, any clues would be helpful
$(document).ready(function () {
$("table select").live("change", function...