
Search In
jQuery Selectors are used to find out matching elements and select one or more HTML elements using jQuery and then perform operations on them.
Factory function is a synonym of jQuery() function start with the dollar sign and parentheses − $()
T
An HTML Helper is just a method that returns a HTML string. The string can represent any type of content that you want
Different types of HTML Helpers
1 Inline Html Helpers
@helper ListingItems(string[] items)
{
<ol>
@foreach
To Implement two stacks in an array
#include<iostream>
#include<stdlib.h>
using namespace std;
class twoStacks
{
int *a;
int size;
int top1, top2; //top of two stacks
public:
twoStacks(int n) // constructor
{
// C++ program to detect and remove loop
using namespace std;
struct Node
{
int key;
struct Node *next;
};
Node *newNode(int key) //Function to create a node
{
Node *temp = new Node;
temp->key = key;
temp->next = NUL
// Program to detect and remove loop in linked list in java
class LinkedList //create a node in LinkedList
{
static Node head;
static class Node //create a node in LinkedList
{
int data;
Node next;
To pass values into the function is done by the two ways
Pass values into the function also known as call by value
Pass its reference also known as call by reference
In the first approach the value is dire
The techniques used for saving data is to change/replace it with some other symbol or text. There is a new thing that will compress the data this is called as OpenPGP.
It is like a hybrid system which changes the data in the compress
Below is the program to demonstrate various method calling conventions followed in C:
using System;
class Program{
public static void Main(){
// ========================= PART I =======================================================
int n1 =
Description:
Given an array of one's and zero's convert the equivalent binary value to an integer.
Eg: [0, 0, 0, 1] is treated as 0001 which is the binary representation of 1
Examples:
Testing: [0, 0, 0, 1] ==> 1
Testing: [0, 0, 1, 0]
Hi there.
In this blog post, I will tell you the solution for one of the minor problems faced in CSS.
And that is, vertically aligning checkboxes and their respective labels consistently across browsers. Whenever I try to align them correctly in on
