- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 24
- Posts with Upvotes
- 21
- Upvoting Members
- 21
- Downvotes Received
- 13
- Posts with Downvotes
- 12
- Downvoting Members
- 4
I have extreme interest in learning new Technologies.
Currently working in IPTV Domain. Its cool!
- Interests
- Coding, Movies, Chess, Learning new Technologies.
- PC Specs
- Intel i3 2.66 GHz, 6GB Ram, 500 GB Hard Disk.
A simple graphical year calendar. Compiler: Turbo C In main current year is set manually, for more generic way use date function to get current year. | |
Re: http://www.w3schools.com/jsref/met_table_insertrow.asp This is simplest explaination one need to insert row/cell to a table. Can you put your code so that we can find what is wrong in your try? | |
This is a program for Encryption and Decryption This program uses the Simple Data Encryption Standard (SDES) Algorithm. This Algo takes 8-bits of plaintext at a time and produces 8-bits of ciphertext. It uses 10-bits of key for Encryption and Decryption. | |
Re: You can give an unique id to your text area. [code=html] <textarea id="mytext"></textarea> [/code] You can easily get in javascript [code=javascript] var myText = document.getElementById("myText"); var s = myText.value; // This will now contain text of textarea [/code] | |
Re: function getGroups(yourRawArray) { var group1 = []; var group2 = []; for(var i = 0; i < yourRawArray.length; i++) { var obj = yourRawArray[i]; if(obj['2'] == '0') group1.push(obj); if(obj['2'] == '1') group2.push(obj); } return {'group1': group1, 'group2': group2}; } function getGreatest(groupArray) { // To get Greatest you just need to … | |
Hi All, How can we enable HTML code compression in .Net? Is there anything we need to do in web.config or external tool is needed? Thanks! | |
Re: $(".second-form").clone().prependTo("#frmMain"); $("#frmMain").remove(); Use jQuery to make your life easy! First clone the inner form and add it above the outer form. Them remove the outer form. Thanks! | |
Re: You haven't handled ajax error method. I am sure it will be going there. Thanks! | |
Re: function getParam(paramName) { var url = window.location; var params = url.substring(url.indexOf("?") + 1 , url.length).split("&"); for(var i = 0; i < params.length; i++) { var param = params[i].split("="); if(param[0] == paramName) return param[1]; } return null; } var userName = getParam("name"); $("#welcome").html("Hey " + userName); Hope this will work :) … | |
Re: var beeped = false; function checkResponseStatus(){ $.getJSON("requestrespond.php", function(data) { ... ... ... if (respond_status == 1) { //request has been made document.getElementById("responseStatus").disabled = false; document.getElementById("responseStatus").innerHTML = "Request Sent on "+ respond_date + " <br /> Time: " + respond_time + "<br /> " + "Click Here To Respond"; if(!beeped) { … | |
Re: height of an relative positoned element in % is caclulated on the basis of its parents. You need to set height of parent. In case parent is body you can add following css to make your dive work:- html,body{height: 100%;} Thanks! | |
Re: This is solved but here is the more clean method to pass argument(s) you should know:- function abc(msg, msg1){ alert(msg + " | " + msg1); } setTimeout(abc, 500, "Hello", " World") Thanks! | |
Here is simple Digital Clock coded in C++ and compiler used is TurboC. A class DIGIT is designed to draw digits. Follwoing are the details for this class: Consructor: DIDGT(); for default settings DIGITE(int s,int c,int st); for user define settings s -> is size of the digit c -> … | |
Hi All, I am in search for some good "Responsive web Designing" CSS frameworks. Kindly Suggest few. I have gone through:- Bootstrap, Foundation and Amazium. All seems same to me. | |
Re: Your are incrementing 'row_no' in addRow() but not decrementing it in deleteRow() [code='javascript'] //Delete Function function deleteRow(r) { var i=r.parentNode.parentNode.rowIndex; document.getElementById('TableMain').deleteRow(i); // Decrementing row_no row_no--; } [/code] | |
Hi all, Please help in middle aligning text in a div without using padding. | |
Re: Its scope problem. Once line 123 get executed it lost the function 'checkSessionTime'. To overcome this pass a copy of that function to setInterval: [code=javascript] checkSessionTimeEvent = setInterval(function({checkSessionTime();},60*1000); [/code] | |
Re: Line 6 have typo, it should be:- [code=javascript] $('input[name="button1"]').click(function(){ [/code] | |
Re: Just before sending ajax request, use your modalpopup to show the loading gif image. Something like this:- [code=javascript] modalPopUp.html("<img src='loading.gif'/>"); ajax.send(onSuccess); function onSuccess(ajaxResponse) { // Data recieved from ajax, update popup modalPopUp.html(data); } [/code] Hope this will give you some idea. | |
Re: This is exact code u want. Its simple. try this. [code="html"] <html> <head> <title>test</title> <script type="text/javascript"> var counter = 0; function addNew() { // Get the main Div in which all the other divs will be added var mainContainer = document.getElementById('mainContainer'); // Create a new div for holding text and … | |
Re: Javascript is client-side scripting language which is used to intract with the client at front ent ie Brower. Where as JSP is server-side scripting which enables us to write code in java and use java classes to perform various operation such as database intraction etc. and to generate HTML on … | |
Re: 0. Create a container html element like <div id="content"></div> 1. Get the form element. There are many ways, please refer 2. With form element get input elements 3. With input elements get there values and show them on some container element Hope I have help you | |
Re: use css: [CODE=css]height:auto;[/CODE] | |
Re: [code=JavaScript]var divEls = document.getElementsByTagName("div"); var i = 0; for(i=0;i<divEls.length;i++) alert(divEls[i].id);[/code] | |
Re: In javascript code line 7, you are always sending search string as 'searchString'. Probably you should try this:- [code=javascript] var data = {'search' : searchString , 'category' : category}; [/code] | |
Re: There was an error while checking on Chrome as on FireFox its messe up, The error was at index.php:139 [COLOR="Red"]Uncaught TypeError: Cannot read property 'value' of null[/COLOR] Resolve this. | |
Re: Try using FireFox's firebug to find the error. Well I noticed on thing at line 134, where you are creating window html, you have added 'style' attributes like :- document.write('<div id="'+n+'_wnd'+'" class="WINDOW" [COLOR="Red"][B]style="top:'+(y-22)+';left:'+x+';width:'+w+';height:'+h+';"[/B][/COLOR]></div>'); you have not added [COLOR="red"]'px'[/COLOR] for 'top', 'left' etc properties. The right way is:- [code=html] <div style="left: … | |
Re: Sorry you can't do it in javascript alone. | |
Re: There is a dirty way by using cookies. In pop-up window write user choice in cookies before closing it and then read back the cookies in first page. This is not a clean method. You have to use Ajax to bring the content of popup window on the same page … | |
I have seen many beautiful clocks using images and and canvas and flash. So I thought of developing one with pure HTML,CSS3 and javascript, no images at all. This clock can be completely design using CSS. A brief description of Javascript used:- 'AnalogClock' is the name of the class which … |