« first day (291 days earlier)      last day (3798 days later) » 

10:02 AM
!!tell rlemon afk cleaning his keyboard after last night, might take a weekend
 
@rlemon Can you pick up some milk on your way back?
 
2 messages moved from JavaScript
 
mkb
10:14 AM
Hi I have a query. I have a form in which I have multiple checkbox. I am trying to validate using JavaScript to see atleast one checkbox show be checked... This is my code s
spec
if ( chkHobby.checked == false || chkWork.checked == false || chkOthers.checked == false || chkSpanishSpeaking.checked == false || chkForeignLang.checked == false || chkPlacementInSpanish.checked == false || chkMakeNewFriends.checked == false )
somehow it is not working... Can anyone help please?
 
@mkb that line by itself does not indicate why something should not work
 
mkb
Here is my HTML
<table id="tblReasons2Learn2" cellpadding="5" cellspacing="0" border="0" width="100%;">
<tr>
<td width="50%" align="right">Traveling to a Spanish speaking country</td>
<td width="50%">
<input type="checkbox" id="chkSpanishSpeaking" name="chkSpanishSpeaking" onblur="txtblankfields('chkSpanishSpeaking', 'divChkErr');" />
</td>
</tr>
<tr>
<td width="50%" align="right">To learn a new foreign language</td>
<td width="50%">
<input type="checkbox" id="chkForeignLang" name="chkForeignLang" onblur="txtblankfields('chkForeignLang', 'divChkErr');" />
and my JS code:
else if ( chkHobby.checked == false || chkWork.checked == false || chkOthers.checked == false || chkSpanishSpeaking.checked == false || chkForeignLang.checked == false || chkPlacementInSpanish.checked == false || chkMakeNewFriends.checked == false )
{
//alert(show+" cannot be blank. ");
var objErrDiv = document.getElementById('divChkErr');
objErrDiv.innerHTML="Please select atleast one reason to learn spanish.";
objErrDiv.style.padding='4px 4px';
objErrDiv.style.visibility='visible';
objErrDiv.style.width='100%';
 
@mkb
I am a noob
but should it be if ( chkHobby.checked === true || chkWork.checked === true || chkOthers.checked === true || chkSpanishSpeaking.checked === true || chkForeignLang.checked === true || chkPlacementInSpanish.checked === true || chkMakeNewFriends.checked === true )
 
mkb
the error is if any checkbox is check, the if condition still runs
 
13 messages moved from JavaScript
 
10:19 AM
<script type="text/javascript">

function action()
{
jQuery('.quickview').click(function()
{
//show all hidden row and remove all showed data
jQuery(this).parents('table').find('tr').each(function()
{
jQuery(this).removeClass('hiderow');
if(jQuery(this).hasClass('togglerow'))
jQuery(this).remove();
});

var parentRow = jQuery(this).parents('tr');
var numcols = parentRow.find('td').length + 1; //get the number of columns in a table. Added 1 for new row to be inserted
var qty = jQuery(this).val();
my ajax
 
2 messages moved from JavaScript
 
 
2 hours later…
11:57 AM
and I give my e-mail:
mrk1989@hotmail.it
 
mkb
my email id is meher.k.bala@gmail.com
 
 
3 hours later…
2:42 PM
style the anchor, not the div.
ideally yes
the anchor has no properties, so the div relates to that
@MRS1367 also: width: 27px; height: 16px;
that is set on the div
I mean this in the nicest way, but you really need to learn how CSS.
#service1Button, #service2Button, #service3Button {width: 27px; height: 16px;}
#service1Button, #service2Button, #service3Button {width: 37px;height: 15px;}
@MRS1367 can you not see the issue with this?
@MRS1367 .services a { style }
@MRS1367 as I said, remove all the height stuff and the button starts to look the same
sadly you have about 100 LOC to style one button
@media only screen and (min-width: 481px)
#service1Button, #service2Button, #service3Button {
margin: 0 0 7px 5px;
background-size: 100% 9px, 100% 5px;
-moz-background-size: 100% 9px, 100% 5px;
-webkit-background-size: 100% 9px, 100% 5px;
-o-background-size: 100% 9px, 100% 5px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-moz-box-shadow: 1px 1px 1px #000;
-webkit-box-shadow: 1px 1px 1px #000;
box-shadow: 1px 1px 1px #000;
width: 27px;
height: 16px;
}
#service1Button, #service2Button, #service3Button {
^ that is the CSS applied to your div inside the button.
But it still adds up
Make live easier, don't repeat yourself.
Ok.
Well in that case, I am sorry but I can't help you.
box-shadow: 1px 1px 1px #000; is in every media query, doesn't change.
You can't expect help when you are doing this?
I hate being harsh, but its just impossible for anyone to debug in the state it is in.
#servicesId>div>div[id$="Frame"]>div[id$="Contents"]>div[id$="Footer"]>div[id$="Button"]
That doesn't work as you have been so specific you need to include the anchor as well.
div[id$="Button"] isn't inside div[id$="Footer"]
24 messages moved from HTML / CSS / WebDesign
 
 
5 hours later…
7:43 PM
I have some problem to using tap and taphold event of jquery.
my all content is loaded dynamically

$(".gallery").append('<div class="show-grid"><img alt="" src="'+evt.target.result+ '" id="'+valid+'" class="grdimg" style="width: 100px; height: 100px; border-radius:55px" /></div>').trigger('create');



my script is
$(document).delegate("pageinit", "#gridviewpage", function() {
$(".grdimg").on("tap", function(event) {
alert($(this).attr('id'));
});
$(".grdimg").on("taphold", function(event) {
alert("tap and hold ");
 
1 message moved from JavaScript
 
hi rlemon
what format you want?
 
 
4 hours later…
11:55 PM
- public/   #localhost/
|-assets/   #nothing get's executed here
||-ui.js    #served as localhost/ui.js
|-index.js  #executed and served as localhost/index/
 
1 message moved from JavaScript
 

« first day (291 days earlier)      last day (3798 days later) »