
Search In
Hi,
Sometimes we need to show our custom accessory view when UITextField/UITextView is in editing mode or being edited. We can use inputAccessoryView property to assign a view just above the system keyboard.
Input accessory view is very help
Hellow Readers ,
Today in my blog I am going to explain about Quick searching in MySQL using FULL-TEXT INDEXING. Many times we made a big mistake during searching from MySQL, we use the wildcard and like operator "LIKE %helpful website%" w
I am in need of a method written in typescript to validate the inputs of a JSON file.
Need help in writing method(function) to analyze the contents of the JSON and make sure that it is internally consistent
For ex: Content of the dat
If you would like to know your web application running on which platform like mobile or web browser. Please use the below code for the same.
if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ){
alert('This
If you want to defines a new notebook page for the view in OpenERP use below code -
<page string="Order Line"> :
Notebook page is used to create the new page and divide the section of pages.
Hello Reader! if you want to link up your images to make it download with just a click then you can use the code below
<a href="/local/project/image.jpg" download="myimage.jpg"><img src="/ocal/project/image.jpg" /></a>
This synta
With the help of multi api we will be able to set the current RecordSet without iteration. It is the default behavior.
In below code i have used search_read function to set the current RecordSet
@api.multi
def afun(self):
len(self)
Note- Multi.api
The multi function is used to compute multiple values.
In below code i have used api.multi to compute multiple values
@api.multi
@api.depends('field.relation', 'an_otherfield.relation')
def _amount(self):
for x in self:
x.total = an_algo
x.untaxed
Sometimes we need to refresh web page after a particular time interval to refresh the content present on that page.
So we can do this easily by writing the meta tag in the page source code:
<meta http-equiv="refresh" content="60"/>
this will
To refresh a function after a particular time interval to refresh the values on the page.
We can do this by using setInterval() function on page load.
Write the below code where refresh() function will be the function that you want to refresh every
