Tag: JAVASCRIPT

Blog

No library HTML+CSS+JS Confirm Dialog

Made an HTML+CSS+JS (JavaScript) confirm dialog today without using any external library. No jQuery!

HTML:

<a class="button button-success btn-show-confirm">Show confirm</a>
<div class="confirm dummy">
  <div class="contents">
    <div class="title">Confirm Message</div>
    <div class="message">Are you sure?</div>
    <div class="buttons">
      <a class="button button-success btn-yes">Yes</a>
      <a class="button 
Blog

SimplePromise – A simple javascript promise with approve, reject, cancel & progress features

Needed a cancelable promise for my project. Also, needed to solve multiple resolve & reject problem done by original Promise because I was making a lot of asynchronous requests and gathering all data together.

Here is SimplePromise which works same …

Blog

Do you love jQuery? And, want a similar feature in PHP also to be able to select anything the jQuery way? Welcome to PHPQuery!

Do+you+love+jQuery-+And,+want+a+similar+feature+in+PHP+also+to+be+able+to+select+anything+the+jQuery+way-+Welcome+to+PHPQuery!

Isn’t it very easy to write javascript code using jQuery engine? I am sure that 95% people love it. And, I have heard that 5% people really do not like jQuery and they want to stick to core javascript methods …