March 2016
JS, Understanding Weird parts-2 (sec 4, Objects & Functions)
In Javascript objects and functions are very much simillar. ‘.’ (dot) operator is used to access the members of any object. person.age returns the age of the person object. This is left associative operator.
WordPress tags and category
We can get category of tags & Categories in our desired format by using the_category( separator ) and the_tags( beforeList, separator, afterList) function.
Ajax-1
AJAX = Asynchronous JavaScript And XML. AJAX allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.
Advanced WordPress Series-1: Filter
Plugin: To create a plugin we should create a directory in the wp folder and create a .php file in that dir. The plugin detail needs to be written inside a comment block to make this visible to wp.
JS beginner to expert, study notes-7 (sec-13~14 string®exp)
Useful String methods: .charAt(0) : Returns the character at index 0. .toUpperCase() & .toLowerCase() : Returns the case of the char.
JS beginner to expert, study notes-7 (sec-12 form validation)
Checkbox: We can check which checkboxes are checked by user or how many checkboxes are there and what are their values etc without submitting the form.
category & tag lists in sidebar [ by shortcode ]
Category: Suppose we have a sidebar list of category which has custom bullet styles.
JS beginner to expert, study notes-6 (sec-11 Events) part-2
Propagation of events: Events are propagated from lower to upper level. A parent div has many child div or other elements. Now, consider both parent div and a child div has individual onclick event listener. If we want that only child div’s event will be fired then we have to prevent the propagation of event.
JS beginner to expert, study notes-6 (sec-11 Events) part-1
We need to track events on browser. An event is said to be happened when something like click, mouseover, keypress etc happened. JS can take action based on events. The important events list:
JS, Understanding Weird parts-1 (sec 2 & 3)
Section/Dir: 2 Syntax parsers: A program that reads your code and determines what it does and if its grammar is valid.