Type: Posts; User: iusephp
This is an IE only..
var elem = document.getElementById('second_sender');
elem.value = "done";
need to check string contains . or / (dot or slash) using regex
What will be the regex pattern
got it. use
Below is my markup.
1 wrapper div which contains 2 left & right floating child divs.
First child div is floating left and it contains a label and an input.
The maximum width I can give to input is...
HTML 5 Input:number is not supported in all browsers.
I am trying to mimic it in non supported browsers by keeping an up & down arrow after a normal input field.
Is there a way to align 2 images as...
Conditional (Ternary) Operator is used.
key = key.replace("s","");
key = key.replace("x","1-");
key = key.replace("y","/");
key = key.replace(/[a-z]/g,"?");
want to replace in above order.
looking for a...
thanks you very much
Trying to make a simple modal dialogue.
But floating div's create unexpected results...
border: 4px solid #525252;
below is the extracted code to show an issue in IE only.
I am expecting border for <a> but top border is not visible in IE if container div got width sepcified.
Kept css inline for easy...
I am regularly getting $_SERVER['REMOTE_ADDR'] as
220.127.116.11, which is IP address from Japan.
Along with that it clears all session/cookie values.
Wondering why it happening.
allowing users to enter messagein textarea.
user can post youtube video links anywhere in message.
wanted to modify this message in serverside php.
Convert all youtube links to youtube embed...
thanks for replies....
I really meant to get only innertext as plain text.
having an html string.
How to print it as text.
above will render the html.
Wht I want is to get only the text.
making an xmlhttp request to the server asp which returns xml string.
xml string is loaded to make xmlDocument.
Part of the code is below.
Some case xmlhttp may fail, that case it returns 'Page...
event.returnValue = false;
works fine as expected
u can do an ajax call.
wht u meant by records here.
u mean to have 50000 elements in 1 screen
document.forms['yourform index'].elements['your elementname']
document.forms['yourform index'].elements['your element...
building a tree using UL,LI tags as below.
Issue seems with cancelling event bubbling.
trying to cancel dragenter event to avoid dragenter firing for root LI.
dragenter on image cancels...
<form onsubmit="return false"/>
need help with query across three tables.
table user_actions got 2 userid columns (user_id & on_user_id) both matching user_id in user_master.