Skip to content
pontikis.net
  • Blog
  • WordPress
  • Labs
  • About
  • Toggle website search
Search this website
Menu Close

webdev

  1. Home>
  2. Blog>
  3. webdev>
  4. webdev
Read more about the article Reference to a DOM element using jQuery
Credits

Reference to a DOM element using jQuery

  • Post author:Christos Pontikis
  • Post published:September 7, 2013
  • Post category:Web Development
  • Reading time:1 min read

How can you create a reference to a DOM element using jquery? In other words, what is the jquery equivalent of document.frm.element_name or document.getElementById("element_id") Someone could say: $("#element_id") Wrong, as…

Continue ReadingReference to a DOM element using jQuery
Read more about the article Call javascript Function Using Variable for its Name
Credits

Call javascript Function Using Variable for its Name

  • Post author:Christos Pontikis
  • Post published:September 4, 2013
  • Post category:Web Development
  • Reading time:1 min read

What is the javascript equivalent of PHP call-user-func? To call a user-defined javascript function, for example DoReload(), you have just to write its name: DoReload(); In case you want to…

Continue ReadingCall javascript Function Using Variable for its Name
Read more about the article Center popup window on the Screen with Javascript
Credits

Center popup window on the Screen with Javascript

  • Post author:Christos Pontikis
  • Post published:September 3, 2013
  • Post category:Web Development
  • Reading time:1 min read

Javascript Window open() Method opens a popup window. How to center this window on the screen? A solution could be the following function: CenterWindow <script> /** * Opens window screen…

Continue ReadingCenter popup window on the Screen with Javascript
Read more about the article How to Parse an include file and Store the result in a Variable with PHP
Credits

How to Parse an include file and Store the result in a Variable with PHP

  • Post author:Christos Pontikis
  • Post published:September 2, 2013
  • Post category:Web Development
  • Reading time:1 min read

Use of include is very common in PHP. include will parse a file and display the result. But, how to store the result in a variable for later use? In…

Continue ReadingHow to Parse an include file and Store the result in a Variable with PHP
Read more about the article How to Get Current Datetime (NOW) with PHP
Credits

How to Get Current Datetime (NOW) with PHP

  • Post author:Christos Pontikis
  • Post published:August 30, 2013
  • Post category:Web Development
  • Reading time:2 mins read

To get current datetime (now) with PHP you can use date with any PHP version, or better datetime class with PHP >= 5.2 Various date format expressions are available here.…

Continue ReadingHow to Get Current Datetime (NOW) with PHP
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Go to the next page

Categories

Archives

NewsLetter

Click here to subscribe to our free email newsletter.
Unsubscribe anytime with a click.

LIKE OUR PAGE!


Say Hello to Gutenberg with my new Free WordPress Plugin Boilerplate for Developers!

Star it on Github!


  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Contact
  • Privacy
  • Terms
© Christos Pontikis 2013 - 2025
Close Menu