arvindthakur's Profile
Reputation: 4
Apprentice
- Group:
- Active Members
- Active Posts:
- 133 (0.19 per day)
- Joined:
- 07-June 11
- Profile Views:
- 3,550
- Last Active:
Mar 14 2013 03:14 AM- Currently:
- Offline
Previous Fields
- Country:
- IN
- OS Preference:
- Windows
- Favorite Browser:
- Internet Explorer
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- PC
- Your Car:
- Ford
- Dream Kudos:
- 0
Latest Visitors
-
macosxnerd101 
17 Mar 2013 - 19:11 -
Vompaudi 
18 Dec 2012 - 05:00 -
raghav.nagana... 
15 Oct 2012 - 23:34 -
ikram002p 
27 Jun 2012 - 03:20 -
Eitxor 
13 Jan 2012 - 12:26
Posts I've Made
-
In Topic: Date range in datepicker
Posted 3 Feb 2012
-
In Topic: css overflow not working in ul buttonbar
Posted 28 Dec 2011
I dont know how you are filling content/text in <div id="box"> element.
If you need some scrollbars for your div....just define a definite height for the div in your css like height:200px; and overflow:auto; for your div styling. -
In Topic: How can i display 2 textbox values into 1 textbox separated by space?
Posted 26 Dec 2011
Well notice88,
My english language is not so good. But what i get from your question is you want to combine the values of two textboxes and display them into third one separated by space.Like if I am putting abc in first textbox and xyz in secondd one then after leaving second textbox we should get abc xyz. For this I have just write a simple example. Please look the below code.
<html> <head> <script langugae="javascript"> function doCombine() { document.getElementById('txt3').value = document.getElementById('txt1').value + " " + document.getElementById('txt2').value; } </script> </head> <body> <input type="text" id="txt1" name="txt1" /> + <input type="text" id="txt2" name="txt2" onchange="doCombine();" /> = <input type="text" id="txt3" name="txt3" /> </body> </html>
Thanks,
Arvind -
In Topic: position:relative not working in IE9
Posted 20 Dec 2011
hello all
thead tr { position:relative; top: expression(offsetParent.scrollTop); }
I am using this concept in two apps
one is running on windows platform and other on unix machine
on windows it is working good
but it's not working on unix
Is anybody knows how to accomplish this? -
In Topic: How to paste a text line using js?
Posted 19 Dec 2011
Well guys I got the solution.But for this I have to use heavy jquery code. If any one knows how to do all this using execCommand please send it.
Following is the solution for paste and selectAll(including cut and copy too) Requirement.
var copy = ""; var focused_field = null; $("#btnCopy").click(function(){ //set copy variable to the selected text txtArea = document.getElementById("txtArea"); var start = txtArea.selectionstart; var end = txtArea.selectionend; copy = $(txtArea).val().substring(start, end); }); $("#btnCut").click(function(){ //set copy variable to the selected text and cuts it txtArea = document.getElementById("txtArea"); var start = txtArea.selectionstart; var end = txtArea.selectionend; copy = $(txtArea).val().substring(start, end); $(txtArea).val( $(txtArea).val().substring(0,start)+ $(txtArea).val().substring(end) ); }); $("textarea").focus(function(){focused_field = $(this);}); $("#btnSelectAll").click(function(){ //select all in focused field if(focused_field) focused_field.select(); }); $("#btnPaste").click(function(){ //paste copyed text to manipulate field txtArea1 = document.getElementById("txtArea1"); $(txtArea1).val($(txtArea1).val()+copy); });
Thanks
Arvind
My Information
- Member Title:
- D.I.C Head
- Age:
- 25 years old
- Birthday:
- March 13, 1988
- Gender:
-
- Location:
- New Delhi
- Interests:
- Love to Code...
- Full Name:
- Arvind Singh Thakur
- Years Programming:
- 1
- Programming Languages:
- Progress,Javascript,ajax,css,html
Contact Information
- E-mail:
- Click here to e-mail me
- Yahoo:
-
arvind_luv_dost@yahoo.co.in
- Skype:
-
arvind.thakur8
- LinkedIn:
- arucoolboy087@gmail.com
- Facebook:
- arucoolboy087@gmail.com
Friends
|
|


Find Topics
Find Posts
View Reputation Given



|
Comments
inder1757
18 Dec 2011 - 23:43ladyinblack
25 Aug 2011 - 01:16