list of jquery bind events
blur, focus, focusin, focusout, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, error
credits to jquery4u
Wednesday, April 24, 2013
Tuesday, April 9, 2013
Learning MVC4
Decided to learn mvc4. Started with nerddinner only to find out it doesn't translate to mvc4 (i should have started the project mvc3). Anyway found a shorter tutorial intro-to-aspnet-mvc-4 it's good. Just gives a very basic sample and all the new functions in MVC4 in VS2012. Now i just need to understand coding.
Model Controller View. So that the developer side is separate from the designer side, that is they can work on their respected areas without interfering with the other.
also CRUD.. the power of scaffolding create, read, update and delete
Model Controller View. So that the developer side is separate from the designer side, that is they can work on their respected areas without interfering with the other.
also CRUD.. the power of scaffolding create, read, update and delete
Thursday, April 4, 2013
jquery and javascript syntax - double quote or single quote?
I have always wonder which was a better choice for when writing string type codes. For example, $("hi") or $('hi)
Answer: It doesn't matter. However if you have a string statement that contains quotes you would need to use both single and double to contain the string. Using this method you would not need to use special codes for those symbols.
eg,
error
'today's special'
no error
"today's special"
'she said "boom"'
Wednesday, March 27, 2013
how to create a chrome desktop shortcut
how to create app shortcut .. that is from chrome. This creates the shortcut but removes the url bar and buttons.
To get all that back do the following...
1. After you created your shortcut.
2. Right click on the icon you created on your desktop and select properties.
3. In the target part find "--app=http://...." and REMOVE only "--app=". Press apply and ok.
Now clicking the icon will open your website in the chrome browser
OR
1. bookmark the page.
2. open the bookmark manager.
3. locate the website, then drag and drop the icon to your desktop.
However this way doesn't pull the nice favico image.
Thursday, March 21, 2013
ways to save.. car rental website
So I tried this site to rent a car autoslash for my Florida trip. For an economy car 5-6 day rental from Payless Car Rental the reserved price was $103 but when we picked up the car the price became $250.
Now why is that? Well we added car insurance ($100) and "no fill up on return" option ($50). The "no fill up" extra cost was probably not necessary because in Florida gas stations all have different prices. And the gas quoted price from Payless was more.
Now why is that? Well we added car insurance ($100) and "no fill up on return" option ($50). The "no fill up" extra cost was probably not necessary because in Florida gas stations all have different prices. And the gas quoted price from Payless was more.
Thursday, March 7, 2013
it's not personal... (saving embedded images from outlook)
Answer: click on the message then File > Save as (.html)
better answer: have them send you the file.
better answer: have them send you the file.
Subscribe to:
Posts (Atom)