questions/web-development/java-script
Hello @kartik, You can use the qualities of ...READ MORE
Hello @kartik, Use: window.location.href As noted in the comments, ...READ MORE
Hello @kartik, Try this: var obj = {}; return Object.keys(obj).length; Hope ...READ MORE
Hello @kartik, To copy HTML , you can ...READ MORE
Hello @kartik, Use: $(".myCheckbox").attr('checked', true); // Deprecated $(".myCheckbox").prop('checked', true); And if ...READ MORE
Hello @kartik, As an alternative to regular expressions ...READ MORE
Hello @kartik, Use window.open(): var win = window.open('http://edureka.co/', '_blank'); if (win) ...READ MORE
Hello @kartik, A simple way to disable any ...READ MORE
Hello @kartik, Your syntax is incorrect, you should ...READ MORE
Hello @kartik, You could always add to the ...READ MORE
Hello @kartik, There is different way based on ...READ MORE
Hello @kartik, Try this: window.dispatchEvent(new Event('resize') ...READ MORE
Hello @kartik, Try: if ($('#element').is(':empty')){ //do something } If you ...READ MORE
Hello @kartik, $.getJSON is asynchronous so you should do: $.getJSON("test.json", ...READ MORE
Hello @kartik, The script is not added to ...READ MORE
Hello @kartik, AJAX calls only send Cookies if ...READ MORE
Hello @Alisha, Try to work using the model ...READ MORE
Hello @ Okugbe , You need few lines of code, ...READ MORE
Hello @kartik, You can do: <div class="basic"> {% include "main/includes/subtemplate.html" ...READ MORE
Hello @kartik, If you are using ModelForm, apart from ...READ MORE
Hello @kartik, I think you need to do ...READ MORE
Hello @kartik, Try: error: function(xhr, status, error) { ...READ MORE
Hello @kartik, Follow this steps: Create an iFrame, put a ...READ MORE
Hello @kartik, You don't need jQuery for that ...READ MORE
Hello @kartik, Use this: +new Date I also like this, ...READ MORE
Hello @kartik, To validate email use the below ...READ MORE
Hello @kartik, It is possible to dynamically generate ...READ MORE
Hello @kartik, The delete operator is used to remove properties ...READ MORE
Hello @kartik, Replace the ssl gem source with ...READ MORE
Hello @kartik, Use hash = JSON.parse string Rails should automagically ...READ MORE
Hello @kartik, You can also use JSON.generate: require 'json' JSON.generate({ foo: ...READ MORE
Hello @kartik, In order to use local gem ...READ MORE
Hello @kartik, In my case this helped: $ export ...READ MORE
Hello @kartik, Use this: remove_column :table_name, :column_name For instance: remove_column :users, ...READ MORE
Hello @kartik, Use the pretty_generate() function, built into later versions ...READ MORE
Hello @kartik, While Hash#has_key? gets the job done, as it has ...READ MORE
Hello @kartik, Try this: rake db:migrate:down VERSION=20100905201547 will roll back ...READ MORE
Hello @kartik, Try using this: rename_column :table, :old_column, :new_column You'll ...READ MORE
Hello @ abhittac, You have create the array everytime the ...READ MORE
Hello @kartik, You can't change the field's value ...READ MORE
Hello @kartik, Yes ,you can read the value ...READ MORE
Hello @kartik, It depends on how and when ...READ MORE
Hello @kartik, Use this function: <?php $string = 'http%3A%2F%2Fexample.com'; $output = ...READ MORE
How to access PHP session variables from ...READ MORE
Hello @kartik, You can convert the PHP object ...READ MORE
Hello @kartik, For client side, you would need ...READ MORE
Hello @kartik, Try: Essentially: <?php //somewhere set a value $var = "a ...READ MORE
Hello @kartik, JS has two registered MIME types: The ...READ MORE
Hello @kartik, If you have individual .js files, and you ...READ MORE
Hello @kartik, You'd need to have a javascript ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.