Archives
so i have a select box, and what I’m doing is adding an option to it using javascript…
that works fine
but after adding it, I want to set the added on as selected
so I tried doing
Code:
document.myformname.myselectname.options[document.myformname.myselectname.length].selected = true;
Basically I need help setting the last option as selected..
but that isnt working
for some reason it can’t find document.myformname.myselectname
This [...]
What are some good programs for Windows ME? I could understand if your host was a mac or linux and you had no other windows license, but what you’re doing is just silly. ME is built on an unstable OS 536/operating-systems/what-are-some-good-programs-for-windows-me/
What Programming Language to Learn? What Programming Language to Learn? [...]
Is there a way I can declare a function for a class, but outside of that class? I want to put it in a separate include for organization purposes. Writing a network app so I want to put the packet stuff separate, but it’s still part of the same class.
You can’t use include [...]
I recently setup a linux server using some older hardware I had laying around. Everything works great. php 5.2.6 and Apache 2.10
I do a lot of coding so I was looking to stop using external servers and do all my coding work on a local system.
Recently I discovered after troubleshooting about 600 lines of code [...]
Having problems with a site today after a redesign. After uploading all the files, a small handful of users have been unable to pull down the CSS files, leaving the the site looking like a mess. It is occurring on different browsers and OSs, but I haven’t been able to reproduce the issue. Anecdotally, one [...]
Hello!
I have this piece of code:
PHP Code:
if ($_POST['item1_price']!=8.95) $next_payment=’2012-01-01 00:00:00′;
It’s for payment gateway. Anyhow, all i need to figure out how to do is I need to have more than one value where you see “8.95″. So basically, I want the code to say that if the price is not equal to 8.95, 11.95, 14.95 then [...]
Hello, I’ve done it in the past, but on small little dinky sites; on the login check, if the cookies weren’t set I set the cookie for the username and userid, and then set sessions aswell.
The basis of it was so that on returning to the site, it would check the session to see if [...]
Hello all
I am looking to install a script for my domain in my server.The functionalities needed is same like FolioSnap https://www.foliosnap.com/ ).So requirement is same. like people who wants jo join my site will get a pathlike hisname.Site.com
I did a lot of search but I was not able to find one.So if someone know it [...]
I have a website, based on PHP includes e.g. ?page=hello includes content_files/hello.html
I wish to have a minimal admin that can edit those HTML files easily using a WYSIWYG interface.
Do you guys have recommendations?
I know that the command below will add the .flv to all files in my database that contains the statement http:
UPDATE wp_posts SET post_content = CONCAT(post_content,’.flv’) WHERE post_content LIKE “%http:%”;
Can someone tell me the command to use to delete the .flv data for all the content the contains the statment http:
Basicall I would like to [...]
I’m currently running PHP 4.4.2, MySQL 4.0.27, and Apache 1.3. But I’m going to upgrade to PHP5 soon so I’ll be able to test out the upcoming public beta of Invision Power Board 3.0 (I own a big message board site).
My question… can I run PHP5 with MySQL4 and Apache1 with no problems?