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

Search In

how to get questions with jquery,ajax,php

have a quiz script. My script contains quiz.js, getquestions.php, insertresults.php. In quiz.js: var i = 1; var sec = 20; var timetaken = 0; var answer; var points; var result = .5; var score = 0; var f = new Date(); var duration; var containerWidth

Cakephp putting condition on virtualFields

Hi Readers, Today I will be discussing about the limitation of virtualfields and how can we overcome it's limitations. Firstly, we can not use virtualfields in associated models for conditions,fields arrays or order. Doing so will generally an SQ

How to convert a string to uppercase and lowercase?

Convert a string to uppercase: strtoupper() function is used to convert a string to uppercase. It convert all characters of string to uppercase. Syntax: strtoupper(string) You have to pass only one parameter to the function i.e., the string whic

HTML onblur event

This event will be fired when the element loses focus. Mostly it is used with the form validation code(e.g. with the input field in a form). onfocus event is the opposite to the onblur attribute. Syntax : <element onload="script"> Example :

How to replace characters in the current URL using Javascript

How to replace characters in the current URL using Javascript During development in one of my project, I need to replace an expression in the URL, the code that helped me is as follows:- The Steps we will follow are: 1. Get the current URL. 2. Rep

Switch list/grid view using jQuery

Hi all, Below is an example of switching between list and grid view using jQuery. $( document ).ready(function() { $('.show-list').click(function(){ $('.wrapper').addClass('list-mode'); }); $('.hide-list').click(function(){

Converting a string between camel case & snake case in Rails

There is a method provided in rails to convert a string to the camel case. The method is camelize. By default camelize converts a string to upper camel case. If we don't specify any argument in camelize method, it will convert the given string to

variable in c++

In c++ we use variables to store the value of a number. The type of the value is needed to be declared first because according to that it will allocate the memory to particular variable. Every variable is assigned with the unique memory address. Ther

Printf() function inside another Printf(function)

What happens when you use a printf() function inside another printf() function. To understand this lets see the following example: #include<stdio.h> int main() { int number = 1234; printf("%d", printf("%d", printf("%d", number))); return

OVERLOADING IN JAVA

In java we can define more than one method inside one class(same class), whose names are same until their parameters or signature are different. This process or method of having more than one method within same class with different parameters or sign

1 232 720
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: