I am working on this login/signup form on CodeIgniter. Got this login/signup code from the internet, but by default, it is in the center. So how do I move this form to the right side of the page? enter image description here Login.html Style.css index.js Answer add float: right to your content. In your css change form class as below
Tag: codeigniter
Why I can’t get a value of textarea from tinymce editor using FormData in Jquery plugin?
I’m using Jquery plugin with Tinymce editor to add some post data to Database using Codeigniter. My Issue I can’t get all the value from textarea which i used Tinymce Editor but another field is working very well. Here is my Tinymce editor And This is my Jquery Plugin The result I can’t get all the textarea value if I
How to show a popup modal in codeIgniter?
I have written a javascript click function to a class to display a popup when the relevant class be clicked. When i just put an alert it gives me the correct output. but the popup modal is doesn’t show up Model I am using following model function And i am calling that method in the following controller funtion Controller Here
Passing string variable with spaces
In the following code: ‘set’ is a string variable which can have spaces in it. I’m noticing when it has spaces it’s not working correctly. How can I fix this? EDIT: For clarity, I’d like to keep the spaces intact. Answer You have to replace intermediate space (‘ ‘) with ‘%20’ using replace(), and eliminate boundary spaces (‘ ‘) using