Hi,
How do I show a div class on clicking a link?
This is the div class that must be shown:
<div id="fb_contentarea_col1down1">
<div class="myform" id="step2">
<form action="index.html" method="post" name="FieldSetting" id="FieldSetting">
<label class="topspace">Field Label:
</label>
<input id="fieldName" name="fieldName"></input>
...
I'm new to .Net and JQuery and are trying to access a textbox through jquery but can't get it to work, can someone help?
...
How to get the id of an anchor tag in jQuery?
This is the tag.
<ul class="formfield">
<li class="selected"><a href="" id="text">Text</a></li>
<li><a href="" id="textarea">Textarea</a></li>
</ul>
I need to get the id, i.e., textarea,text etc in a variable.
I tried something like this,but there is no such thing as fieldValu...
Hi,
I am using cloning method to clone a TR and append it to a table. The TR has a textbox and linkbutton(addmore). on click of this link button a new textbox should be shown along with the link button and current linkbutton should be hidden.
How to know that the addmore link is from last row/index. Is it possible to get to know Index ...
Hi,
I am using JQuery for my application.
In my code, I want to get only the text 'Firstname' in the label.
I tried it with
$("#label"+div_id+"").html(); //but displays Firstname along with the span tag..
But I only need Firstname. How can i do so?
The following is my Html code
<label id="label1">Firstname<span class="req">...
I am using jquery to locate all the checkboxes in a table column that are checked. For that purpose I am using the following code:
$("input[type=checkbox][checked]").each(function() {
//Do Stuff
});
This works fine in Firefox 3 but does not work in IE8 or Safari. Can anyone explain why and/or provide a...
This may sound like a simple question, but I just cannot seem to find an answer on google, probably because the search term will bring back quite a lot of irrelevance.
I would like a jQuery selector to select all odd table rows, that are not in <thead> and apply a css class to them all.
"table.cp-ss-grid tr:odd"
The above selector wil...
I have a span like this
<span class='class_name'> blah blah </span>
I want to select the class name of this span. for that iam using this.className
its working fine in firefox. but for explorer its not...
How can i fix that??
...
Hi ,
My page has this design.
<tr id="master">
<td id="row1"> <textbot> </td>
<td id="row2"> <linkbutton> </td>
</tr>
I am cloning the same TR onclick of the linkbutton and the current link button will be hidden. so a new row will be created.
consider I have cloned thrice
<tr id="master">
<td id="row1"> <textbot> </td>
<td id="row2...
Hi,
I have a dropdown box with three values,small,medium and large.If the value is small, the text created should be 100px,if medium then 200px if large,400px. Based on this value can I save the size in a variable,and use that variable in the style attribute?
For eg,
I get the value of the drop down box as
fieldsize=$('#fieldSize')....
I have a button on a form and when it's clicked I wish to find the selectedvalue from a select element using JQuery. Can anyone help?
...
Hi,
I am using JQuery for my application .
I am having a html as
<label id="label1">Firstname<span class="req"><em> * </em></span></label>
In my JQuery code i want to check is there any span like tag inside label and if exists ,i want to keep my check box On.how to do so ..Please suggest me.
The following is my checkbox
<input i...
If have an element that maybe disabled on a page, and would like to check it's value before I do something.
How is this done?
Thanks in advance.
...
Hi,
I am using JQUery in my application .
Inthat i am having a
<label id="label1">Firstname<span class="req"><em> * </em></span></label>
$("#label"+div_id+"").clone();
clone.remove('span');
alert(clone.text());//displaying FirstName*
But i need only Firstname
How to do so in JQUery..Or else is there any method to keep ...
i need to use the animate property for a less than usual activity. i am new at jquery so i dont know if this thing works right out of the box for jquery but lets see.
$('#Zoom').toggle(function() {
img.removeAttribute("height");
$("#draggable").draggable();
},
the above function zooms into an image by removing the...
Hi,
I am having a button and wrote two functions for the same button
Like
initially
$("#FieldSetting .button").eq(0).unbind('click');
$('.button').eq(0).click(function(){alert('initally');})
later in the JQUery when i click on a div i wrote another function to be implemented by the same button as
$("#fb_contentarea_col1down21...
Hi,
I have a JavaScript function code where I want to alert.
function msgalert(x,y)
{
tempstr = x.value
if(tempstr.length>y)
{
alert(c_AcknowledgementText);
x.value = tempstr.substring(0,y);
}
}
Now I have an xml with below format:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<key name="c_ContactUsHeading">Contact Us</k...
I'm a beginner with PHP security issues. Someone reported a security issue with my code, but never gave details.
Below is a condensed version of the code. I'm using the JQuery AJAX function to send some data to the server where it's used by the PHP scandir() function.
Do you see any security issues?
HTML Document
<script
src="h...
I have few input fields in a form. after some validation, I use jquery to post the page.
$.post("Myproduct.aspx?action=1");
The post appears to go through. But when I debug the server code,
the request.form[] is null.
Has any one had this problem?
...
$('#tags option').each(function(index, item) {
// var i = this;
//if (jQuery.inArray(i.value, idArray)) {
// i.attr('disabled', 'true');
// }
item.attr('disabled', 'true');
});
How to I convert the item parameter into Jquery object so I can use all the nicety's like .attr?
Thanks
...