Showing posts with label ready. Show all posts
Showing posts with label ready. Show all posts

Thursday, 18 February 2016

How to Get TD Class Value in JqueryIn Feburary 2016 18,

In Feburary 2016 18,
Open the Web page in Notepad or a code editor, and look for the jQuery library file. If your code contains no reference to this file, add this code:Place this reference between the '
' tags of your Web page code or just above the closing '
' tag.
Add a pair of 'Write all jQuery code between the '
' tags.
Write a function to check for when the document finishes loading. This is also known as the 'document ready' function:$(function () {});The above code is short-hand for '$(document).ready()'.
Declare an array type variable that will hold the class values of your '' tags:var tdValue = [];Add this code between the curly braces of the 'document ready' function.
Iterate through each instance of '' in the Web page code by creating an 'each()' loop:$('td').each(function(i) {});This code goes after the array declaration. Note that 'each()' attaches to the 'td' selector, and a variable 'i' is passed as a parameter in the function. You need the 'i' variable to get values from the array.
Set your array equal to the results of the 'attr()' function inside the 'each()' loop:tdValue[i] = $(this).attr('class');The 'this' selector gets the parent selector, in this case 'td' from the selector in the line of code above it. Use 'class' inside 'attr()' to get the value of the class attribute for each '' tag.
Output the class name for each '' tag as text in each table cell by adding this line of code after the line containing your 'attr()' function:$(this).text(tdValue[i]);The finished script should look like this:$(function() {var tdValue = [];$('td').each(function(i) {
tdValue[i] = $(this).attr('class');$(this).text(tdValue[i]);
});});
In Feburary 2016 18,

Sunday, 14 February 2016

How to Send an Email Through Telnet With an AttachmentIn Feburary 2016 14,

In Feburary 2016 14,
Run the Command prompt. This is achieved on any Windows PC through the typing 'cmd' in the 'Run' application under the 'Start' menu.
Type in the following command, keeping your email server details ready for insertion:telnet yourserver.com 25The only variable is yourserver.com, which you should modify to reflect the outgoing SMTP server on your email account.
Type the command 'EHLO yourserver.com' to begin typing your email, using the MAIL FROM, RCP TO and DATA commands, respectively, to type your message.
Encode your attachment through the MIME format, entering the header and content code within the DATA section of your email. This will allow your attached media to be sent over the text-based Telnet protocol, regardless of whether it's an image, an illustrated brochure or just plain text.
Type a period on an otherwise blank line beneath your email and hit return to send your message and attachment. If you receive an error message, check that you've inserted the correct commands with no typos and that your email addresses are correct.
Type the command 'QUIT' to end your Telnet connection.
In Feburary 2016 14,

Friday, 5 February 2016

How to Reinstall DNEIn Feburary 2016 05,

In Feburary 2016 05,
Download the Winfix file from the Citrix website. This file will clean out existing DNE settings and ensure the system is ready for a reinstallation.
Double-click
Winfix.exe and click
Start Windows Fixup.
Download the latest version of DNE from the Citrix website. Double-click the
Dneupdate file to open the DNE installer.
Agree to the license terms and conditions. Click
Install to install DNE. You will need to restart your system when the installation wizard reports that it has completed.
In Feburary 2016 05,

Thursday, 4 February 2016

How to Use an HTML in XAMPPIn Feburary 2016 04,

In Feburary 2016 04,
Go to 'Start' on the Windows taskbar and type 'XAMPP' into the search box. Select 'XAMPP Control Panel' and press the 'Enter' key. Start Apache from the XAMPP Control Panel. Apache is ready for use once you see the word 'Running' highlighted in green.
Go to 'Start' and open 'Computer.' Navigate to your XAMPP folder, normally found as a top-level folder under your computer's main hard drive. Open the htdocs folder.
Open 'Computer' again and navigate to the folder where you keep your HTML files. If you do not already have any HTML files created, create one and save it to the htdocs folder under the XAMPP folder. Copy and paste your HTML files, if you find any, in to the htdocs folder.
Start your Web browser and type 'localhost/filename.html' into the address bar. Press 'Enter' and watch your HTML file load as a Web page. Now your Apache server that came with XAMPP is serving your Web pages.
In Feburary 2016 04,