Hi ...., I implement some thing like this
- person grid -
name address action
a ax edit
b bx edit
- form edit -
id :
name :
address :
<submit edit>
action edit is a link, supposed the anchor tag is: <a href="http://localhost/person/edit/1">
while I click the edit l...
I would like to integrate auto-suggest on my website. Which option should I pursue? Are there any advantages with going the jQuery route vs the Javascript route? What about disadvantages?
What about having my local javascript request information from server-side JSP? I have about 10,000 keywords in my database that I'll be using.
I wou...
The following code does not return anything:
$('.foo', $('<div class="foo">foo</div><div class="bar">bar</div>').get(0)).html()
Is there any way to specify a string representation of xml/html as the context parameter of the jQuery function? I'm trying to select a section of an html document retrieved from an ajax request; the ajax ...
Hi All,
How to store values in the session using jquery.
I am using the following code
var Link = '<%=Session["Link"]%>';
to get data from session. How to do the reverse process.
Problem:
I need this in my master page. so i cant use .ajax{}.
Geetha
...
I'm modifying a website to have a pop up box appear when a user rates something prompting the user to login. Unfortunately the login process is something that I don't control and it uses a whole heap of javascript and redirects to do it and it seems that the javascript is failing.
Can javascript run in the modal box or is there a way ar...
There is one long in the content on the print page, but while we print the some content of the text cut down.
please let me know , if there is any dynamic way to add page-break css. the content could be any thing.
...
Consider a gridview row containing two columns... Each column has two textboxes... Onkeypress in the first textbox i have to update a value in the second textbox..... Is it possible with jquery....
EDIT:
I want to show Closing Advance based on Advance Detucted textbox keypress
ClosingAdvance=OpeningADvance-AdvanceDetucted....
<table...
I'm using ajaxSend() to intercept requests originating from a jQuery plugin on my page and then filtering irrelevant requests using the ajaxOptions url.
$('some-selector').ajaxSend(function(e, xhr, settings) {
var ajaxUrl = settings.url;
if (ajaxUrl.search('targetpage.aspx') == 0) {
//need to add an additional paramete...
Hi,
Using JavaScript how can i control external FLV live audio/video (radio) stream.
I have URL say BBC Radio, which when entered in address bar of browser display its own FLV player.
I need to control this live stream to be play,pause,increase/decrease volume using JavaScript.
The JavaScript should be universal in the sense that, fo...
As most people, I have read a seen a lot of examples of getting data from a form (html) and being able to effeciently handle the posted data say within an ASHX (Generic Handler) page... and from there say update a database via a stored procedure.. maybe I am trying to automate things too much?? !!
So I have a HTML form with say 50+ fo...
Hi, I quickly made this function for a script im using:
$.fn.liCount = function(){
var i=0;
$(this).children().each(function(){
i++;
});
return Number(i);
}
problem is IE returns 0, anyone know why?
alert( $("ul").liCount() );
edit:
<div id="prev-quotes">
<ul id="quote-list">
<li id="quote_conte...
Hi, what I am trying to do is grey out some days of the week for a venue for when it is closed. Each venue might be closed on different days.
I can use the following code as a test to close out all Sundays:
$('#bookingDatepicker').datepicker({
minDate: 0,
maxDate: '+3M',
dateFormat: 'DD,...
Hi,
At the moment I'm building a list using the following code:
$('<li id="li' + jJob.Id + '"><div style="width: 98%; background-color: #9E7BFF; colour: #000000"><a href="javascript:void(0);">' + jJob.Type + ' ' + jJob.AddressClean + ' (' + jJob.Status + ')' + '</a></div></li>').click(function(e) { ShowStatus('job ' + jJob.Id + ' is av...
Edit: The same problem seems to occur with events bound with bind('click').
How do I to prevent a live()-bound link from being followed, whether I click on the link itself or any of its child elements?
With the following markup:
<a class='dynamiclink' href='file.htm'>Some text <span> more text </span></a>
And some javascript (with j...
I am trying to see if an element have a specific CSS attribute. I am thinking at something like this:
if ( !$(this).attr('font-style', 'italic')) {
alert ("yop")
}
else {
alert ("nope")
}
It does not work. Any tips on this?
Thank you!
...
Hi,
I need to set up jquery to cycle through tables, making sure it shows/hides the right one.
The basic HTML structure is:
<p><a href="#" class="month-next">Next Month</a></p>
<table class="month-show"><tr><td>blurb</td></tr></table>
<table class="month-hide"><tr><td>blurb</td></tr></table>
<table class="month-hide"><tr><td>blurb</t...
I have this function
jQuery("form#add_cv").submit ( function(){
if (Spry.Widget.Form.validate(this) == true){
jQuery("#show_rules").fancybox({
'padding' : 0,
'autoScale' : false,
'autoDimensions': false,
'transitionIn' : 'none',
...
I am looking for an extensive example or, the most preferably, an open source project with a nice, modern, ajax-enabled user interface which is using JQuery or YUI on top of Java web application - it can be full Java EE application, JSF only, Spring MVC application, anything.
I would like to learn what are best practices to create such ...
I am trying a hello world project with ASP.net MVC and jquery grid
Followed the steps as per http://haacked.com/archive/2009/04/14/using-jquery-grid-with-asp.net-mvc.aspx
Everything seems to be fine when hitting F5 from VS2008. the grid is showing the data from the db
Now, when I set up a virtual directory and pointed to the same proj...
hi,
I would like to know how can I use jQuery to select multiple items without having to press the SHIFT button on my keyboard in a simple html dropdown element:
<select>
<option></option>
<option></option>
<option></option>
</select>
thanks
...