wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes $('div.west).html(''); what does only quotes mean in html method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "$( Watch "$( New topic
Author

$('div.west).html(''); what does only quotes mean in html method

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1067

Hi,

I somewhat understood what is this, but didnt get the clarity... Its like taking the west class and converting it into some html format.??? but html parameters just have two single quotes.. I am not sure what it is trying to do?


http://www.lifesbizzare.blogspot.com || OCJP:81%
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Its just clearing out the html of the DIV


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63226
    
  69

The single quotes are just the empty string.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: $('div.west).html(''); what does only quotes mean in html method
 
It's not a secret anymore!