Jump to content

sridhar

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by sridhar

  1. It looks like IE only allows read access to that type property. A work around may be something like this:
    <input type="password" id="pwdfield" value="Sridhar" /><input type="text" id="txtfield" value="" style="display: none;" />

    Then the javascript to show the password would look like this:

    var pwd = document.getElementById("pwdfield");var txt = document.getElementById("txtfield");txt.value = pwd.value;pwd.style.display = "none";txt.style.display = "inline";

    Thank you jesh
  2. Hi all,i have a password field and re type passward filed in my form. i have one more checkbox, if the user checked the checkbox the password and retype password should show the text content instead of the **. i tried with the follwing code, it is not supported by IE. its working fine in Firefox.my codefunction viewpassword(){ if(document.getElementById("passcheck").checked!=false) { document.getElementById("password").type="text"; document.getElementById("repassword").type="text"; } else { document.getElementById("password").type="password"; document.getElementById("repassword").type="password"; }} is it correct one? any other option is there, help me.ThanksSridhar.J :)

  3. thank you for the answer i fix all those problem i have thougholy check everything cleared all full page elements cleared all external javascript but i am sorry but the data is still not going in the stated divid what if it somthing to do with the functions i dont know i am stumped :):) i have just moded everything not move it around so feel free to look at my code to see if i did something wrong sorry and thank you have been a big help personaly i have nobody in my local city oxford alabama to help me find my bug , teach me , and i am to young to take a course on this but you have helped me somewhat in telling me these bugs i am almost positive that i have cleared them thank you michael roberts
    im not sure, just try this.use<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> tag instead of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Thank you.
  4. You can use Javascript to disable it when it changes. But they'll only be able to select a file once.<input type="file" onchange="this.disabled = true;">
    Thank you, Its working fine, but one more thing If the user wants to select some other files. Its not possible in this method. Do u have any other logic.
  5. relative is relative to where the element would normally appear, if positioning were not used. for example if you give something position:relative;left:5px;, it will appear 5 px to the right of where it would normally appear
    croatiankid, Can u give the full details about the relative position. i have a huge form, it has the vertical scrolling bar also. after the scrolling i need the div. when i click the link, div will visible near by the link. (example like a calender window popup).Thank you
  6. Hi In my jsp application, i have populate some alert message. its brings up the title like http://path. i need to add my application name instead of it. Its possible, What ill do for it.alert("some text"); sample alert msg.Thank you

  7. Hi All,After selected the file in filetype text box, i need to check its file name or folder name. coz accidentally the user can remove the file name from text box. How can i convert it to readonly? how can i avoid it in client side, let me know.This is my file upload tag.<input name="batchfile" type="file" id="batchfile" size="50">Thank youSridhar.J

  8. Hi All,i need some details about the modal window.This is my code. plz guide me the correct way. its not supporting in IE but it running well in Firebox.function MM_openBrWindow(theURL,winName,features) { // if(navigator.appName=="Microsoft Internet Explorer"){ window.showModalDialog(theURL,winName,features); }else{ window.open(theURL,winName,features) } } what ill do to run the both browser.regardsSridhar.J :)

  9. Help mei have the div in my page, if the document has the following Doctype tag. it shows on the end of the document. Suppose i remove the tag it displays in the correct position. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">Its a Div ---------<div id="Clickhere" style="position:absolute; top:180; left:420; width:50px; height:20px; z-index:1;; visibility: visible;"><img src="images/clickhere.gif"></img></div>What is the problem in my document?

×
×
  • Create New...