20 Aug 2013

How to connection string in ASP.NET to SQL SER...

<connectionStrings>
    <add name="MyCon" connectionString="Data Source=SqlserverName;Initial Catalog
=YourDataBaseName;Integrated Security=True;" providerName="System.Data.SqlClient" />
  </connectionStrings>

How to get the current URL in jQuery?

To get the path, you can use:
var pathname = window.location.pathname;

On select change, get data attribute value

$('select').change(function(){
    alert($(this).data('id'));
});

<select>
    <option data-id="1">one</option>
    <option data-id="2">two</option>
    <option data-id="3">three</option>
</select>

How to Create WEBSITE DESIGN

Way2finder Technologies is a web design studio that offers corporate web design and custom web design. Our website designers offer cheap w...