Blog Archives

How to Get Query Strings and Parameters in node js

Introduction We’ll be going over how to extract information from a URL in node.js. Specifically, how do we extract information from a query string and URL path parameters? In this article, I assume you have some experience with Node.js and creating Express.js servers (or at least simple ones) then you …

Read More »

How to submit ckeditor textarea value in html format or text via form?

Ajax jQuery textarea CKEDITOR form submit code First you include some important library. <script src=""></script> <script src=""></script> <script src=""></script> <script src="//"></script> Ajax code $(document).ready(function(){ $('#add_page_details_to_DB').click(function() { var dataStrings = $('form#create_page_to_DB').serialize(); //for ckeditor textarea field for (instance in CKEDITOR.instances) { CKEDITOR.instances[instance].updateElement(); } $.ajax({ url: "/admin/add-city-content", type: "POST", data: dataStrings, success: function(response) …

Read More »