Home Windows
 
 
 
Search
Search Only:

Search Keyword using

Total: 51 results found.

Page 1 of 3
Question: How to submit an HTML Form using JQuery?   Answer: For example you have a form with id "myform" <form id="myform" action="submit.php">   <input type="text" value="This is a test ...
Question: How to disable and enable HTML form fields using JavaScript?   Answer: To enable a form field use the below JavaScript document.getElementById("ELEMENT_ID").disabled = false; And to disable ...
Question: How to find what what shell you are currently using on Linux?   Answer:  Open a new Terminal Window  Type in the following command echo $SHELL This will output something similar like below ...
Question: How to get the value of a radio button within a radio button group when selected using JQuery?   Answer: Give all the radio buttons within a group the same name <input type="radio" ...
Question: How to change the Return-path email address using the PHPMailer class?   Answer: Fill the $Sender property with the email address you wish to have as the Return-path  eg. $mail->Sender="test@testmail.com"; ...
Question: How to get the first element of an array using PHP?   If you have the array $array = array('a','b','c','d'); you will need to get the value a from the array   Answer: Use the array_shift ...
Question: How to search and replace text within a text file using the Command Line on Linux?   Answer: This can be accomplished by using the sed command. sed =  stream editor for filtering and transforming ...
Question: How to remove a html table row using JQuery?   Answer:  Ensure that the html table row has an id eg.<tr id="TABLE_ROW_ID"><td>I want to be removed</td></tr> Now ...
Question: How to get the current UNIX timestamp using PHP? UNIX TIMESTAMP: Is the time measured in seconds since the start of the Unix epoch "1 January 1970"   Answer: Use the PHP time function ...
Question: How-to create a MySQL database and assign user privileges to it? NOTE: Please note that this is done in the Command Line Interface.   Answer:  First login to the mySql server using root. ...
Question: How to Export your MySQL database schema to a file using the Command Line?   Answer:  Use the following command in the Command Line Interface mysqldump --no-data --tables -uMYSQL_USER_NAME ...
Question: How to go back to the previous page using JavaScript?   Answer: By using the JavaScript code history.go(-1); In our example we will show you how to use it in a anchor tag. <a href="javascript:history.go(-1);">Back</a> ...
Question: How to delete a file when getting the error "Error Deleting File or Folder" using Windows XP? Answer: The solution is to rename the file in a DOS readable format. Open Windows Explorer Locate ...
Question: How to get the number of Words, Characters and Rows within a Text file on Linux via the Command Line?   Answer: By using the wc command. wc = print newline, word, and byte counts for each ...
Question: How to backup your data using Windows XP?   Answer: Windows XP has it's own built-in backup utility/tool that makes it easy for users to backup their data. Regular use is important to keep ...
Question: How to create a Email link using the Yii Framework?   Answer: In the view that you wish to use add the following code for the Email link.  CHtml::mailto($data->email) NOTE: $data->email ...
Question: How to get the id of the first img html tag element within a specific div tag using JQuery? With getting the id I mean getting the attribute id's value for the first element within the div tag. ...
Question: How to find the id of the first anchor html element within the first element of an unordered list using JQuery? With getting the id I mean getting the attribute id's value for the first element ...
Question: How to get random rows when querying a database table using mySql? For example if you have a table with 100 rows in it and you need to get 3 random rows then this could come in handy.   Answer: ...
Question: How to convert a mySql Datetime field to a Unix Timestamp using PHP?   Answer: In the example you'll find a handy PHP function that will do the conversion. <?php $DATETIME = '2010-04-22 ...
«StartPrev123NextEnd»

 
Banner