i am having an issue inserting data into mysql if the data has special characters. For example, if i try to add "john's pencil", it does not add it to my database. Here's my code:
i am having an issue inserting data into mysql if the data has special characters. For example, if i try to add "john's pencil", it does not add it to my database. Here's my code:
i guess this applies to more than just the ajax calls. For example, when the page first loads, it takes some time to load everything. I would like to have the hourglass mouse pointer while it loads...
alright, I have a lot of places where ajax calls are made to get or add information to the server. Some of those calls take relatively long time to execute. I want to disable all input when the...
I have some processes that a relatively long time to execute. I was wondering if it is possible to disable all input (show an hourglass mouse pointer, or show a screen over the whole window), while...
Does anyone know of any other way of creating an inline popup? I want to create a login page for my website, but i don't want it to redirect from what the user is currently viewing, and I would...
hmm im not exactly sure what you mean by that..here's more of my code: this is inside a modalbox, so the function login() is called when a button is clicked. I know it may be hard to answer without...
I want a select object to call a function whenever something is selected, even if its the same thing that was selected before. onclick calls it whenever the box is clicked (so twice if someone...
My jsp page sets up my html setup and has javascript scripts that run when the site is loaded. I don't really know if there is any other way to do that. Here's the code from...
I currently have apache 2.2 running php files. I am trying to add a jsp file, but when i run the jsp file from the apache server, I just the the text of the script. I am trying to make...
hmm seems like that is the problem. When i run the file straight from my desktop, i get nothing, but If i put the file in my apache htdocs folder (localhost) it works fine.
var xhr;
if (window.XMLHttpRequest) // Object of the current windows
{
xhr = new XMLHttpRequest(); // Firefox, Safari, ...
}
else if (window.ActiveXObject) // ActiveX...
I have a phpscript that I would like to call when a button is clicked. I currently have the onclick for the button going to a javascript function that I wrote. It basically sets up the call...
I am new to php. I am trying to write a message board sort of website using javascript, where I will need to store each message with a rating, and maybe eventually replies/comments. I then need...