HNHacker News
TopNewBestAskShowJobs

parrispreston

21 karma · joined March 27, 2011

Application Developer @ sefaira.com Living in San Francisco website: prestonparris.com
submissionscomments
parrispreston··on Ask HN: Idea Sunday
Have you checked out bandsintown.com ?
parrispreston··on Chaplin, an Application Architecture based on Backbone.js
This is exactly what I was waiting for. Awesome.
parrispreston··on BankSimple invites first customers; rebrands itself as Simple
Yeah, ditto to this. I have Schwab and I can go to any ATM and they reimburse me at the end of the month. No yearly, monthly, overdraft fees. nothing.
parrispreston··on Ask HN: Help me, I fuck around on the Internet too much
check this out: http://radio.rinse.fm/
parrispreston··on Ask HN: the current state of the empty # in 'a href'
The standard is to use # in anchor tags that don't link anywhere that get hijacked with javascript and typically using jquery use e.preventDefault() which will stop the # from going into the address bar. You can also use return false. But e.preventDefault() is best practice. You need the # in the href because without it older browsers will not act like its a link which will prevent :hover from working. The # signs you are seeing all over the web are probably people who are not implementing preventDefault or return false. You could also be seeing them for sites that attempt to use something like jquery address for ajax navigation. If you are attempting to copy and share one of these links and it is not working then the developer didn't set up the ajax state management correctly for the particular app you are using. On a side note, you should probably leave these types of programming specific questions for stack overflow. I wouldn't consider this appropriate for hacker news in my opinion. Also you will probably get a larger response for this type of question on stack overflow. Heck, it has probably already been asked and answered multiple times on there.