
Search In
The general idea for playing an audio file in iOS 6 was to create an object of AVAudioPlayer and pass the file path to it as follows:
NSURL *fileURL = [NSURL fileURLWithPath:audioFilePath];
player = [[AVAudioPlayer alloc] initWithContentsOfU
$('#demo ul li[rel="'+id2+'"]').remove();
<div is="demo ">
<ul>
<li rel="id1">This is just a demo. </li>
<li rel="id2">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </li>
<li rel="id
Sometime you may need to use the jQuery calender in some project. you writes the following code:
jQuery( ".in_time" ).datepicker();
and it gives you:
1- if you need to show all the dates which are previous to the current date:
If todays date is
How to set pre default current date in datebox before choose any other new date:
We have to follow following steps.
Step 1:-
Download below 2 files.
jquery.datepick.js
jquery.datepick.css
Call both file in HTML head
<link type="text/css" hr
Evaluating If Else statements is very common in programming paradigm. But 'If Else' statements are long and they can be easily replaced by simply using Ternary operators. Here is a tutorial on the usage of ternary operators and their implementation i
Error Code : 1005
Can't create table 'DatabaseName.#sql-9cc_1' (errno: 150)
(0 ms taken)
After searching a lot i have got solution for the above problem while i was adding FK to a column.
The error was because of different MySQL engine. There are di
Get a label Text or DataKey value on button click in a gridview
Write the .aspx code as below:--
<asp:GridView ID="grdtest" runat="server" AutoGenerateColumns="false"
<Columns>
<asp:TemplateField>
<ItemTemplate>
<a
To find the version information of MYSQL server from command line log into MYSQL server using command
mysql -h hostname -uusername -p
You would be prompted for the password for the user on the server type the same and press Enter key.
You would b
<html><br>
<head><br>
<title>My Home Page</title><br>
</head><br>
<body><br>
<h1>This is a heading</h1><br>
<p>Document description goes here.....</p><
Here is a simple way to validate user name and password in an HTML form using java script.
<html>
<head>
<title>
Login page
</title>
</head>
<body>
<h1 style="font-family:Arial;text-align="center";font-size:20
