$(this).attr should
do the trick with grabbing what type the input element is. I
appreciate your help. I had to change .input to :input since I'm
filtering out by the element not by a class named input.
-Thanks,
Rich
On Jan 8, 7:11 am, Rick van Hoeij rickvho...@gmail.com wrote:
Hey,
Maby
Hey Oliur,
You could just do that after the document ready:
$(document).ready(function(){
$(.divname).animate({
opacity: 0.5,
}, 300 );
});
That should do the trick, I think.
Greetz,
Rick
On Jan 9, 2:53 pm, Oliur o.r.chowdh...@gmail.com wrote:
when the DOM is ready you can
Hey,
Maby this will help:
$('.input').each(function(){
alert('Value: ' + $(this).val() + ' - Type: ' + $(this).attr
('type'));
});
That should do the trick. Just let me know.
Greetz,
Rick
On Jan 7, 11:33 pm, rich dottedq...@gmail.com wrote:
Hello all, I'm relatively new to JavaScript. I
Hey,
I would add another class to the div you want to show. That way you
can keep it selected until you go over another div. Like this:
$(a.mSelect).hover(
function () {
$('.selected').each(function(){
$(this).hide();
});
var month = $(this).attr(rel);
$(#m
Hey,
I would add another class to the div you want to show. That way you
can keep it selected until you go over another div. Like this:
$(a.mSelect).hover(
function () {
$('.selected').each(function(){
$(this).removeClass('selected');
$(this).hide();
});
Hey,
I would add another class to the div you want to show. That way you
can keep it selected until you go over another div. Like this:
$(a.mSelect).hover(
function () {
$('.selected').each(function(){
$(this).removeClass('selected');
$(this).hide();
});
I usually use this code:
$('#textbox_id').val()
But I don't know id it is different in .net
Hope this helps. Greetz,
Rick
On Dec 19, 11:48 am, suresh kumar ksuresh...@gmail.com wrote:
I am using jquery block to show the popup window. In which the popup
has two textboxes with two buttons.
I would use:
$('a').click(function(){
var car_id = parseFloat($(this).attr('class'));
$('#' + car_id).show();
});
Haven't tested this, but should work if I read your description right.
Greetz,
Rick
On Dec 18, 1:57 pm, imot3k r.imp...@gmail.com wrote:
Hi,
I'm making a website for a
because of the async of javascript I normally use callback functions
to do the value passing. So instead of return true or return false in
a ajax function, it's better to call a function with the true or false
as a parameter.
Just my two cents ;)
On 12 dec, 20:24, Jojje
Hey,
Best way to make sure that the form has been loaded is to use the load
callback function:
$('#formGen1').load('formGen1.jsp', function(){
//Callback function: Form has been loaded
//Code implementation
});
I usualy hide the form that I'm editing until it is ready to be shown.
Simple
Hey,
If you are referring to hovering your mouse over a div there is the
hover event:
$('#divid').hover(function(){
// Implement code while mouse is hovering div
},function(){
// Implement code while mouse leaves div
});
There are different mouse events too. Check them out at:
Hey,
Don't know if you mean when you hover over a div? Cause then you
should just use the hover event:
$('#divid').hover(function(){}
//Implement code while hovering
,function(){
// Implement code when you exit the div
});
Hope this helps.
Greetz,
Rick
12 matches
Mail list logo