No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Sorry I have been searching for hours and hours now been looking for a way to gzip a file in javascript client side so i can then upload it and unzip it server side. You may ask why not just zip it normally? This is for my users and most … |
|
Hi can anyone tell me how I can write data to the main www.example.com from mobile.example.com i keep getting a http write error when i try to mkdir or a file on the main domain from the subdomain?? |
|
Does anyone know of a function that can check all or uncheck all checkboxes with one click barring in mind i have multiple forms on one page. function checkAll(formName, status){ for (i = 0; i < formName.length; i++) formName[i].checked = status.checked? true:false } I have tried the above it works … |
|
I have this menu which works fine in firefox etc but just will not work in I.E 7 can anyone tell me why? [code] <html> <head> <title></title> <style type="text/css"> #mainmenu{ width: auto; height: 30px; } #mainmenu{ margin: 0px; padding: 0px; z-index: 1; } #mainmenu li{ float:left; position:relative; width: 140px; border: … |
|
Re:
HI.. I have been able to save images into MYSQL database using php but I am having problems with retrieving images from mySQL ...Can anyone help thks |
|
I have a div that the user can edit problem is when I select the div the initial cursor is always the same height as the div??? Also if i enter no text and click on it i have to leave the div and click before I can enter the … |
|
mAYBE I am a bit rust but my following seems to display ok in firefox chrome but doesn't even work in IE maybe something simple i am missing as I am very rusty. [code] #topholder { position: absolute; top: 0px; left: 0px; width: 100%; height: 120px; display:block; z-index:0; background: transparent; … |
|
is there any easy way to set a cursor to a div so that you can type in a div onclick? |
|
How can I change the current text style at the current position of the cursor without chnaging the whole div id's font style? [code] document.getElementById('message').style.fontWeight='bold'; [/code] This changes all the previous text styling in the textarea i have been trying to find a way aboutit but can't seem to find … |
|
It's not really a big problem but my code keeps spitting out this error on mozilla when the auto fill boxs pops up on a form feild does anyone know a fix for it? [code] Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS … |
|
I have a radion box that has the values private public and friends but i cant't seem to get it to reset to the default value using javascript?? [code] document.getElementById('emailsetting').checked='private'; [/code] |
|
Not sure why there is obviously something wrong with this but my two of my divs username and #passwordrow are turning out twice the length of the parent #loginbox don't worry ablut the wierd backgroound and text colours I did that so I can see how they are acting, the … |
|
Trying to get my one of my divs when clicked to call a function but it doesn't seem to be working??? I just noticed that only one solid pixel in the div border which i will eventually set to 0px calls the function but I want it so the whole … |
|
I thought this would be simple I am trying tochange the opacity using style. but keeps throwing an error [code] document.getElementById('overlay').style.background='#000'; document.getElementById('overlay').style.opacity='40'; document.getElementById('overlay').style.filter='alpha(opacity=40)'; [/code] keeps thowing the error in parsing value for 'filter' declaration dropped in my css i have [code] #overlay{ width: 100%; height: 100%; background: transparent; /* for … |
|
Sorry another silly issue with javascript but I am getting there. Can someone please explain how I should write this thankd. I tried stoping and restarting the string 'hello' +var 'more text'; maybe I am just too tired. The variables are already defined. [code] document.getElementById('welcomeone').innerHTML='+firstnameval you have successfully created your … |
|
Re:
Hi frnds, I want to store images in database and retrieve. I can successfully stored. But i dont know how retrieve it. If any one know pls help me. I paste my code here. [B]fimg.php[/B] [code] <body> <form enctype="multipart/form-data" action="insert.php" method="post" name="changer"> <input name="MAX_FILE_SIZE" value="102400" type="hidden"> <input name="image" accept="image/jpeg" type="file"> … |
|
Re:
My web host recently updated their version of PHP and some of my code is no longer working. I created a band website that stores news items in a MySQL database. I created an update page (news.php) where the band can log in and add, update, or delete news. I … |
|
Still trying to get my head around some simple javascript issues the following works in php but not in javascript can someone point me in the right direction obviously my code is wrong. [code] if((dobyear==false) && (dobmonth==false) && (dobday==true)) { return 'noyearmonth'; } [/code] thanks |
|
Re:
So i have a system, and i was creating a page to input player stats. However there are 5 rows that have be inserted per game from a single form. I have the code for the form and the insert code. I was just wondering if someone could help me … |
|
Sorry for another regex post but i have been trying to get a regex to work to check for unwanted characters in a string like @#?! I have tried [code] var cityreg=/^[^$%@!]+$/; [/code] but it doesn't seem to work? |
|
Hi I have been playing with this regex for a few hours now I want to make it so it accepts commas also any ideas? [code] var regname=/^[a-zA-Z\.\-'\s]*$/; [/code] At the moment it works with A-z and - . ' but can't seem to figure out how to include commas … |
|
Hi sorry I am very new to AJAX and javascript probably a silly question but where can I put document.getElementById("loading").innerHTML='loading...'; in the following so it appears when it is loading and disappears when it is loaded? function getstate(){ var xmlHttp; try{ xmlHttp=new XMLHttpRequest();// Firefox, Opera 8.0+, Safari }catch (e){ try{ … |
|
Hi I have never really bothered with javascript before but i am having alot of problems with a ajax php form my php code returns [code] if ($states==false) { $result = 'nostates'; $result = trim($result); return $result; exit; } [/code] And my javascript alert returns nostates but always executes the … |
|
Sorry i have'nt got a clue what i am doing i just bought a webserver and and can't get it to work. I have a dynamic dns set up with my static ip address. In the nat on my roter i have set up name1 as port 80 with my … |
|
I am having problems with a data entry issue i have a field in my database which is called headline it is set to varchar 255 when i insert for example something with for eample. [code] The 'dogs' are very big. [/code] the code is sent by normal $headline=$_POST["headline"]; then … |
|
I have the following problem is that regardless of the error it only seens to return the value of $error==4?? there are multiple files being uploaded but i only want to retrn 1 message error 4 if no files have been uploaded and error 2 if a file is more … |
|
I am having problems with this form it has two submit options a button and an onchange instance the onchange just will not work can any one tell me why? my doc type is [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> [/code] the form … |
|
how do i find out the row size in kb? is it possible to automatically insert the size I have a mail table and have the field is there a way of automatically creating the value on insert by resetting the values of the field?? [code]`messagesize` int(255) NOT NULL default … |
|
this seems to work but the new window doesn't resize and none of the attributes are working? [code] <form name="login" action="secure/checkuser.php" method="post" target="mywindow" onsubmit="window.open('mywindow','width=400,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,titlebar=no,scrollbars=yes,copyhistory=yes,resizable=no')"> [/code] |
|
Re:
hi i have problem , rhe code is working properly on local machine but when i upload it on net then it give the warning [COLOR="Red"][B]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home7/wyzerpmc/public_html/wyzer/survey/survey.php on line 22[/B][/COLOR] [code]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> … |