<xsl:template name="ClickPIB">
<xsl:param name="abc" />
<xsl:param name="xyz" />
<xsl:if test="string-length($abc) > 0">
<script type="text/javascript">
$(document).ready(function () {
$('#<xsl:value-of select="concat($abc, '_td')"/>').getXYZ("<xsl:value-of select="concat(substring-before($abc,'_'), '_landreover_', substri...
Hi,
I'm using jQuery Validation for a form, and I have to display a checkmark next to the input field (if the entry was correct), and the error message (example:"please enter at least 4 characters") below the input field.
I was thinking of doing something like this:
errorPlacement: function(error, element) {
* if the validation is suc...
I want to know if there is a min. version of the jquery datepicker javascript file
...
I am writing this post after reading the post on using jquery live.
http://stackoverflow.com/questions/852450/adding-jquery-click-events-to-dynamically-added-content
I am using richfaces, jquery and custom component tree in my project. I am using vertical tabs in my project, that are created by adding specific classes to the items using...
rating
This is my URL , i am using jquery.ratings.js ,
But when i run the page , it saying
("#test-2").ratings is not function
...
Hi,
I'm trying to select a class inside the same parent class of a link.
This is the html:
<div id="productList">
<ul>
<li class="productListItem">
Product 1 <span class="smallText">stuff</span>
<div class="skuFinder"></div>
<ul class="merchantsInProductList">
...
Hey guys,
I've got a a left floated UL list for a menu, one option with a nested UL for dropdown, each of which is given it's own nested ul child, which is only displayed on hover. What I'm finding in IE 7 is that if the mouse moves out of the boundries of the parent then the sub-menu disappers, it also seems to be clearing out the link...
I have a simple menu on a web page, based on the jQuery Accordion. I'm simplified the code somewhat, but it looks like this;
<div id="menu_div" class="nt-tab-outer nt-width-150px">
<h3 class="nt-tab-title"><a href="#">Menu A</a></h3>
<div id="menu_1_div">
<a href="itemA1">Item A1</a><br />
<a href="itemA2">Item A2</a><br />
</div>
...
I Have a Large Asp.net (somepages are Ajaxable but not all) which I want to Activate Keyboard Navigation for it.
Some Shortcut key chosen to do or call some methods & Functions or visible and hide Page Elements. these shortcuts are more than 50 keys
in addition users must be able to change any shortcut (in this time is not necessary bu...
I am doing a small human resource web application in my workplace and i have a CV section were employees can add their CVs to be displayed to the human resource manager.
I want to make something similar to what Stackoverflow Careers has done in the Experience and Education sections where the users can click the "add more experience" or ...
Hi Guys,
Got a jquery question for you...
I have a option list and when you select the various options, it highlights the relative accordion index.
How do I stop this happening? I would like to leave the user on the option list that they are using to make the selection.
This is the line of jquery that makes the selection on the acc...
I am trying to tidy up some legacy code.
The following is a cut down of the main parts of the code that does the ajax request:
var xmlHttp;
try {
// Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();
} catch (e) {
// Internet Explorer
try {
xmlHttp=new ActiveXObject("Msxml2.XML...
Hi,
I have a function that gets the selected text, the text is selected by mouse, and add it into a variable. I want to add tags around that variable in the selected text - in that paragraph.
$("p").live("mouseup",function() {
selection = getSelectedText();
if(selection.length >= 3) {
var $spn = $("<span></span>").html(selection).addCl...
I've got a jquery ajax function that polls the database server to see if there are new records. If so, it inserts the new records (with unique IDs) at the top of the record list using the following:
$(new_records).insertAfter('#div_at_top_of_page');
This works fine, even in IE6.
However, each inserted record has a secondary ajax fun...
Hi there..
Having a few issues with JQuery traversal and looking for some asssistance..
If i have the following html
<div id="1">
This is a div
</div>
<div id="2">
<a href="link">This is div 2</a>
</div>
What I would like to do, is when I click on the link in div 2, is add a class to div1 using dom traversal, and not just directly r...
Hi all,
I have a question , about parsing xml.
I want to get some xml data to HTML, but I have a problem, I can get this data just from local xml, when I try to get data from external URL it doesn't work, for example from
http://www.w3schools.com/XML/plant_catalog.xml
This is jquery:
<script type="text/javascript">
$(docum...
I tried to open a PNG file in Firefox using Slimbox2:
<a href="images/project3.png" rel="lightbox" title="my caption">image #1</a>
It didn't work, it just opened the picture.
then I cahnged PNG to Jpg and it worked.
Does SlimBox2 support PNG?
Header:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
...
I am using code found at Railscast 197 to create nested forms using jQuery. The challenge I am facing is that the nested model uses a file_field element, and because of this when looking at the edit view I just see a list of empty file_field elements. Is there a way I can tell rails to display something else (like a disabled text_field) ...
Hi,
I am trying this new method I've seen serializeArray().
//with ajax
var data = $("#form :input").serializeArray();
post_var = {'action': 'process', 'data': data };
$.ajax({.....etc
So I get these key value pairs, but how do I access them with PHP?
I thought I needed to do this, but it won't work:
// in PHP script
$data = json_d...
Need assistance please. (More confused than anything really)
I've got ASP.NET mvc controller
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Dashboard(string Whatever)
{
//Save name to database
System.IO.StreamWriter swLogFile = new StreamWriter(@"c:\temp\test.txt", true);
swLogFile.WriteLine(Convert.T...