I need to access two attributes I've assigned to my row in code-behind.
userId and eventId
here is what I have.. and have tried.
function ExportToPbuse()
{
var rowCount = GeneralReport.rows.length;
for (var i = 0; i < rowCount; i++) {
var userId= GeneralTbl.tbodies.row[i]$(this).attr("userid")
var eventId= Gen...
Using Jquery ajax post how would i show a message with what data is about to be posted.
$.ajax({
beforeSend: function (request) {
//something here
},
type: "POST",
url: "delete/process.php",
data: "delcustomerid="+ delcustomerid,
success: refreshTable
});
...
Hi,
I have a problem, maybe due to TinyMCE.
I want to put a text in a markup with jQuery.
This is my code :
$(".page").change(function(){
tinyMCE.triggerSave(true, true);
$(".description").val("my text");
});
Have you an answer to this ?
...
Hi! I am using jQuery cycle and also a fade in/out on this site:
http://www.lunatestsite.co.uk
Cycle for the banner, fades on hover for the bottom nav buttons. In anything but IE8, all is peachy, but IE8 has incredibly jerky fades.
There is mention of IE8 having a different method of animating transparency on:
http://stackoverflow.c...
This is from jQuery API docs:
typeString
Default: 'GET'
The type of request to make ("POST" or "GET"), default is "GET". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers.
I am going to make AJAX delete links with jQuery. What I would like to know is spe...
I have a a form:
<form id="deletesubmit" style="display:inline" >
<input style="width:50px" type="text" id="delcustomerid" name="delcustomerid" value="'.$row['customersid'].'">
<button type="submit" class="table-button ui-state-default ui-corner-all" title="delete"><span class="ui-icon ui-icon-trash"></spa...
Ok..i'm having a brainfart right now with jquery's selector process (yes, it's quite confusing to start).
I have 2 input elements on the page, of which I want to remove one.
here are my inputs:
<input value="[email protected]" name="Email" type="hidden">
<input value="[email protected]" id="Email" name="Email" type="text">
I have a ...
To those jQuery experts out there. I have the following markup and code:
<html>
<head>
<title>Test Framework</title>
<script src="js/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.nav').click(function(e) {
e.PreventDefault();
var id = $(this).at...
var el = widget; // Ordered HTML Lists
var helper = $('<div class="positionHelper"></div>');
var wrapper = $('<div class="slide-out-div"></div>');
helper.css({ position: 'absolute', width: dims.refW, height: dims.refH });
el.wrap(helper);
helper.wrap(wrapper);
wrapper.append('<div id="handle">');
For some reason, the output for this i...
i have a menu like fllowing code
Home
Sub Item 1
Sub Item 1.1
Sub Item 1.1.1
Sub Item 1.1.2
...
Hi Guys,
I have a PHP script that does the following: It takes a string, for example, "This is a Great Blog Post, #1!", and returns the following string, "this-is-a-great-blog-post-1".
I'm not exactly a Jquery expert, that's why I'm asking this question. Does someone know of a Jquery (or Javascript, for that matter) script that will d...
Hi I have a demo going here of my site: treethink.treethink.net/backup
I have the retracting news ticker on the right on a timer, when you click a nav item I got the ticker to retract but I need to end the timer so that it stays retracted. Then when you click the close button I need to start the timer again.
Here is my jQuery:
/* ...
Is there a way to detect if a tag is self closing with JQuery like an image tag? Something dynamic not just an image tag.
if ($('.selector')[0].tagName.toLowerCase()=="img") {
// do something
}
...
I'm trying to get the following code to display only on specific pages but when I click through certain pages like the home page or any other pages that does not use this code I get the following `alert("some error occured, please try again later");.
How can I have the code not display the alert box on pages that do not use this JQuery ...
Now that JavaScript libraries like jQuery are more popular than ever, .js files are starting to contain more and more of a site's logic. How and where it pulls data/information from, how that info is processed, etc. This isn't necessarily a bad thing, but I'm wondering to what extend this might be a security concern.
Of course the real ...
I am looking for a JQUERY list box (or select box) with value as MON,TUE,WED,THUR,FRI,SAT,SUN and text as Monday,Tuesday,Wednesday,Friday,Saturday,Sunday. The text will be displayed to the user. If the user selects Friday from the list box the corresponding value FRI is passed to the server. While loading the list box if the value from t...
Hi,
Trying to adapt snook.ca's Simplest jQuery Slides for multiple, nested elements. I've got the cycle working, although I'm sure my jQuery is a bit verbose. I can't, however, figure out how to return the script to the beginning of the set of elements so it repeats an endless loop. Snook's script uses appendTo to return to the beginnin...
I'm working to integrate with the MailChimp API to submit a form via Ajax, but I'm having a lot of trouble integrating the form they provide. I think this is a good opportunity for me to learn more about Ajax, but I can't for the life of me figure out where my call is going wrong. Here's what I have in my Ajax call:
$('#submit-button')...
I'm creating a lightbox for a website i'm creating, no i don't want to use one already made, i want to make my own.
when the user clicks on a somewhere on the website, i have jquery grab that 's title attribute, and stick it into an image src, and then inject that image tag into .overlay_content
everything works except it wont grab th...
Hey, can someone help me make this an object please.
Obviously not all my code is here, but i'm sure you'll get the gist.
<?php
$product_name_1 = $_POST['product_name_1'];
$region_1 = $_POST['region_1'];
$start_date_1 = $_POST['start_date_1'];
$end_date_1 = $_POST['end_date_1'];
$sku_1 = $_POST['sku_1'];
$product_name_2 = $_POST['prod...