hi all...i'm interest to use jQuery dataTable...
could you tell me and give me an example how to use that..and i've been heard about jqGrid too..which better from both of them?
i've been try to download dataTable..
<script type="text/javascript" src="jquery.dataTables.js"></script>
<script type="text/javascript">
$(document).ready(fun...
Firstly I would just like to thank everyone for reading this and answering my questions. The help given to date has been invaluable and I a better programmer thanks to the help I have been given.
To the problem at hand. I fear it is a little rough but the script below for the most part works.
The problem is that while the history is st...
Hello!
i'm trying validate a form (all fields) with jQuery
My code is valid only for the input area, but it's don't works for the <textarea>, anybody knows how i can fix this problem?
$(".button").click(function() {
// validate and process form
// first hide any error messages
$('.error').hide();
var name = $("input#name").val();
if ...
What would be the best way to scan trough all the DOM, find any element that have text and wrap it in a span class?
Thanx
...
hi ,
i need to validate a field which should only accept value like +10.00 , -10.00
that is +/- 2digits.2decimals ..how do i do this using jquery.
it should accept without + or - also. taht is i will treat 10.10 as +10.00 and it should also accept 10 and i will treat as 10.00 and .10 and i will treat it as 00.10
...
Hello,
I have a <input type="hidden" value="" id='h_v' class='h_v'> Using jQuery I want to alert the user to this value .
I am using
var hv = $('#h_v).text();
alert('x');
But its not working, any clues!
Thanks
Jean
...
Hello all
I am stuck in a selector problem in JQuery. I have the following html structure ....
<table>
<tr>
<td rowspan="3"></td>
<td></td>
<td></td>
<td rowspan="3"></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td rowspan="4"></td>
<td></td>
<td></td>
<td rowspan="4"></td>
</tr>
<tr>
<td></td...
Would like to append rows in a small period.
Couldn't do that. :)
Maybe someone here could demonstrate that?
Would be very grateful.
...
$('img').click(function(){
var add_to_list = $(this);
// database query for element
});
Currently add_to_list is getting the value 'images/image.jpg'. I want to replace the 'image/' to nothing so I only get the name of the picture (with or without the extension). How can I do this? I couldn't find anything. Also please provide ...
code link: http://jsbin.com/ozoma3/edit
codes (can copy/paste to a .html file, and run it) :
<HTML>
<HEAD>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<style>
*{margin:0;}
#main{
background-image:url('http://clip2net.com/clip/m10494/1277192389-c-811b.png');
width:660px;
he...
Hello,
When #sw is clicked, I need alert(dc); to be triggered
<form name="sc" action="" method="">
<div class="si" id="seli" style="position:absolute; left:15px; top:200px; width:260px;">
<select>
<? do { $k = $row_w['k']; ?>
<option value="<? echo $k1; ?>"><? echo $1k; ?></option>
<? } while ($row_kw = mysql_fetch_assoc($kw)); ?>
</s...
Hi all,
I need to make a video viewed counter. I have .MOV files using embeded/Object tags and application is ASP.NET. Is there any way that I can count hits on the videos using Jquery?
...
I use jquery ajax method, set datatype json, I get a jsonp response from a cross-domain server. But what i want is raw string of json response. so i set datatype text, but i got nothing but a empty string.
$.ajax({
url:"http://api.douban.com/book/subject/isbn/9787802057388?alt=xd&callback=?",
dataType:'text',
...
I'm using the jGFeed to retrieve RSS feed from distant server.
Nothing hard, really. Issue I'm having is about the display of the feed : I'm trying to loop over each retrived element of the rss, and display it. Then remove it , and display the next one.
Here's how i'm trying to do so, without success :
$(document).ready(functio...
I want to make my images as links with help of jQuery:
$("img:gt(0)").each(function () {
var curr = $(this);
if (curr.width() >= 500) {
var m = 500 / curr.width();
curr.height(curr.height() * m);
curr.width(curr.width() * m);
}
$("<a href='"...
On the success function of jquery ajax request i am creating div with a message... But it doesn't seem to show up....
success: function(data) {
$(function() {
$('<div id="alert">Successfully Updated</div>');
var $alert = $('#alert');
if ($alert.length) {
var alerttimer = window.setTimeout(functi...
I am using jqFancyTransitions.1.8.min.js
My Operating System is windows 7 x86
Please provide any additional information below.
When i m using Multi sized images. The small images comes in tile property
here i m attaching the demo file.
Please solve this prob as soon as possiable.
Thanks in Advance.
Regards
Vishal chuahn
Mail:vishnam...
In the jQuery autocomplete/menu widget (the autocomplete widget is based on the menu widget, which is a still unreleased widget), how is a click outside of the menu detected ? (A click outisde of the menu closes the menu)
I have added a srollbar (similar to the classic select element) to that menu in a custom combobox widget I am writin...
Hi all,
jQuery is driving me nuts. Ive looked around on the web for a simple category expander slider but haven't found one. Ive attempted to create one here.
The problem I'm having is when trying to hide() an element previously show()n. If another element is show()n before the hide() is called, the call to hide() for the first elemen...
Hi all,
I have an issue retrieving ajax data using jquery 1.3.2 / 1.4.2:
It works with IE 7/8
It fails with FF 3.5/3.6, Chrome 5.0.375.70
The piece of jquery code is very basic:
$.get('http://myhost/someurl',function(data) {
if (data) {
alert('data is: ' + data);
} else {
alert('no data');
}
});
With a...