Here is the code I currently have. I don't need a form because I will be accessing these elements with javascript and using ajax to send data to the server, but as far as I read that is perfectly...
I added an input element with type="text" to my web page. But I can't click into the element to put my cursor in there. If I set onclick="this.focus ();", then it will get focus when I click on it...
I have a very small button (width:20px; height:15px; font-size:10px;) and the text inside of it is only partially displayed because it flows out the bottom of the button. I set the padding for the...
I want to allow my users to login through other sites (twitter, myspace, facebook, etc.) so they don't have to create new login information for my site. All the OpenID documentation says it is...
I put favicon.ico in my document root directory. It works for Opera and Chrome on Linux, but not Firefox. It works for Chrome on Windows, but not Opera, Safari, IE, or Firefox.
I guess I don't understand the advantage of having multiple connections. If you only have one database server running, then it can handle one query at a time. So whether they all come from the same...
For a web application connecting to a database, is there any compelling reason why any of the requests would need a separate database connection to run their queries, or is it better to force them...
I am developing a custom web site with users who will login and upload data. The site is very custom and I have to develop it myself. However, I would like to allow my users to discuss stuff related...
I need to get and/or set the cursor or selection position in an iframe (designMode=on). Mozilla has very useful properties called selectionStart and selectionEnd which give the offset in characters...
Is there any way to capture keyboard input from an entire page? Neither the Document nor the Window objects have an onkeypress event handler. I need something like an onkeypress for the entire page....
This works. Since I don't need the rows ordered, I removed the "order by t.race_id". Then it becomes slightly more efficient than the one I was using (above). Mine required an extra order by in order...
But I can't group by QueryB without defining QueryB. So in order to do it this way, I would still need that innermost query. I included the order by clause because QueryA returns one row for each...
I created a query that is actually 3 queries in one. It seems like I should be able to write this query in a simpler way, but I have not been able to do it. Here is a simple description of the tables...
I am using prototype's Ajax object and my response function is not getting called even though FireBug shows me the correct response from the server. I think it is because I can not access the global...
execCommand ('inserthtml') works to insert plain text into a rich text enabled iframe in Firefox and Opera, but IE does not recognize the inserthtml command. I need to be able to insert certain text...
As far as I understand (and correct me if I'm wrong), user agent data is not reliable because not all browsers send it with the request and some browsers allow the user to change it. But I know that...
The real problem is that IE does not support the MIME type application/xhtml+xml. So I have decided that using XSLT to convert from XHTML to XHTML would be overkill, and is not a direct solution to...
I am serving my pages with Content-Type application/xhtml+xml, in the HTTP header as well as the HTML head. IE 6 asks me if I want to save this file, because it doesn't support the MIME type. I found...
I changed the Content-Type to application/xhtml+xml. I had been using text/xml from code I copied from an ajax response. :rolleyes: After that it worked fine on every...
Well, I thought I would go ahead and return XHTML since my page has always validated just fine. So I put all of my javascript code in a CDATA block just like your example. I also changed my...