Search Results
There are 9 item(s) tagged with the keyword "HTML".
- Displaying: 1 - 9 of 9
- 1. HTML5 compatible table design
Hello friends,
Today I am showing you a tip to redesign your HTML table element that will be compatible with HTML4 and HTML5.
- By Vikas Patel
- 2. Show tooltip when input element get focus
Hello Friends,
Recently I am working on one of the project, and inside it we want functionality to show a hint tooltip box (show information related to that field) when that input element get focus.
I use clueTip (a jQuery tooltip plugin) to show hint tooltip box.
- By Mahavir Dhruv
- 3. Decode HTML code with jQuery
In one of the project, we are storing all form fields in json string format (i.e. {"name":"myname", "email":"may@xyz.com", "address":"myaddressdetail"}) in the database table. To avoid the JSON parsing error due to any special characters while retrieving data from database and deserialize the json string, I convert all special characters in the fields value with their HTML-escaped equivalents (by using coldfusion HTMLEditFormat() function). Till this it's works fine but I found the issue with the HTML-escaped equivalents code when I am going to retrieve data with AJAX and placed value to appropriate input field. At here I want to convert the HTML-escaped equivalents code to appropriate special character (i.e. & needs to be converted into & sign).
- By Nirav
- 4. jquery mobile error avoiding tip
Hi,
For last month I am using jquery mobile. I’ve gone through lots of issues and learned a lot.
Web is good but when it comes with browser, HTML and java-scripts it becomes more buggy!
Generally I use chrome for development, and jquery mobile works perfect as it based on web-kit.
I tested and published my code, for desktop testing I use Firefox and chrome (not testing on IE as its jquery mobile). But when I open it in Android device, I see only half of the page rendering. And this is because of I made mistake in mark up language.
I forgot to close div tag and closed with li tag. In Firefox and chrome its ignored, but in safari it rendered differently.
See this code and output in chrome and safari, you will get the idea what i’m taking about.
Conclusion: While testing you web app IE is your acid test, while targeting web-kit or jquery mobile, safari is your acid test.- By Vikas
- 5. innerHTML vs appendChild
Today I was testing my code, and I found interesting stuff on innerHTML and appendChild method.
I was trying to add new elements to the div.
First, I was creating element by calling DOM method (document.createElement()) and then I append it to my div by calling appendChild() method of the HTML div element.
- By Vikas
- 6. Correct Method to check if a Javascript function is Exists or not
Hi everyone,
Sometime you might want to call a function in Javascript but check whether the function exists or not before calling it. You can test if a function exists in Javascript by simply testing for the name of it in an if() condition.
But Note that you can't test for the function name by itself.
This will work but if the function doesn't exist the Javascript will error out ...
- 7. Visitor's Browser Window Display Area
To know the available display area in a visitors browser excluding the pixels occupied by the toolbars and other add-ons on the users browser use the following javascript code ...
- 8. Overwrite old click event function Not Working in IE
Hi everyone
I just came across this problem that is happening in IE.
In the html I am adding an onclick event to an element that calls a function 'changeStatus' like this ...
- 9. Submit form to a new window, with window.open() features
To submit form to new window, we set the target attrubutes to '_blank'. But we can't set the new window's property such as height, width etc. So to submit the form to new window with 'window.open()' features, Let's look at the below code ...
- Displaying: 1 - 9 of 9