Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Adding CSS on a click in AngularJs

If you want to add some css or change css on a button click in angularjs,you need to use angular directive mg-class for this. It is very simple you just need to bind a variable into the directive “mg-class” and change it from the controller. Here i

How to make live clock on website uisng Javascript?

Hello readers if you want to show a live clock on your web page then you can use the javascript to make it. So lets start with html page. Create blank HTML page name is clock.html, And it's code will go like this:- <html> <head> <tit

Converting timezone of date-time without effecting the actual time

I am looking for a way in rails using which I can change the timezone i.e UTC or GMT of date time string without actually making any changes to the original string (just want to change the timezone) . Is there any inbuilt time method in Rails which

How to change the number of records “show 10 entries” of jquery datatable

Hi If you are using the DataTable then by default it will show the records for 10,25,50 and 100. And if you want to change this number according to your needs. You just need to make changes inside the script by adding the aLengthMenu and iDisplayLeng

How to change default Character set of Schema?

Sometimes we need to change default Character set of Schema. We can do this easily by using ALTER command. Command: ALTER SCHEMA database-name DEFAULT CHARACTER SET utf8 ; Example: ALTER SCHEMA `jeeyoh` DEFAULT CHARACTER SET utf8 ; by running

Change application language programatically

Now its possible to change the application specific language programatically It is working by setting locale. But you have to set it in all activities. Here is a code you can try these code. you can get the local language using locale and can then s

How to change the font of SearchBar's Placeholder and TextField

To change placeholder font add the following code: [[UILabel appearanceWhenContainedIn:[UISearchBar class], nil] setFont:[UIFont fontWithName:@"Helvetica" size:12.0]]; and,to change the font for the SearchBar textField add the following lines: [[U

Custom EditText - Clear all text in Editext

It is very common that the Android's Edit text needs to clear all filled data in one hit, rather than clearing every single text using keyboard's 'X' button. It is a good practice that enable user to clear all the text using Edit Text drawable. pu

Window resize event using jQuery

Events are the strength of jquery. There are different types of events for different purposes in jquery such as click,change etc. We are going to discuss one of the events named resize. It will be applied on the window size change. It will call a fun

Add classes and change text using jquery function to add class and remove class on multiple buttons

You need to give class to the button and attach the .on() method with it. If you have multiple buttons that when you click one, it changes classes & the text inside. Here is the simple code to do this: $('.EgClassName').on('click', function(e){

1 7 342
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: