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

Using GREP in Ruby

Working with GREP in Ruby As we know that ruby contains a lot of built in modules, in which one of this is the Enumerable module. So before preceddingon what GREP is and How it works, first lets study a little info about Enumerable module...

Custom Multi Select Box

Customizing a multiple select is a very challenging task. The default layout of the multiple select box looks like this: To make it a drop-down multiple select box we need to create a custom made multi select box. Here is the html code:...

Array Conditions and selecting specific fields to find or retrieve from database (Active records)

Array Conditions and selecting specific fields to find or retrieve from database through Active records Array Conditions To retrieve some specific data from the database we use the where method which gets the records in the form o...

What is the use of IFNULL Operator in MySQL?

In MySQL, the IFNULL operator is used as conditional statement for NULL values. When we need to fetch NULL values with LIKE operator then we can use this operator. Example: We have a table "employee" as below:    ...

How to make WHERE col LIKE '%' select NULL values too?

When we apply LIKE keyword to any query then it doesn't return NULL values, and sometimes it required to return NULL values as well. We can do this by using IS NULL or IFNULL operator. Example: We have a table "employee" as be...

Trigger the change event for select that gets the text for each selected option and writes them in the div?

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>selected demo</title> <style> div { color: red; } </style> <script src="https://code.jquery.com...

How to implement select event of Autocomplete feature in jsp?

Sometimes we need do functionality when we select any item from the suggestions that display by autocomplte feature. Example: In the below example I'm using autocomplete() function to get suggestions with the provided keyword. As below by impl...

How to select option of drop down with Jquery?

Sometimes we need select option of a drop-down dynamically by clicking on a button or on some other action. We can do this by using "selected" property. Example- In the below example I have a drop-down for distance and I want to select option ...

NVL fuction in Oracle

NVL function helps you convert a null to an actual value. Syntax:- NVL (expr1, expr2) In the syntax: expr1 is the source value or expression that may contain a null expr2 is the target value for converting the null Guidelines for N...

Scrapping - get Select option values and text via simple html dom

Here is the working example to get select box option value and text via Simple html dom. I assume that you have already included simple_html_dom file and have html content in $content variable $html = new simple_html_dom(); // Creating htm...

How to select values from dropdown in Selenium

Value can be selected from the drop down, using the "Select" class: Select sel = new Select(driver.findElement(By.xpath("xpath_of_dropdown"))); sel.selectByIndex(index_of_value_to_select); OR Select sel = new Select(driver.findElemen...
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: