Jump to content

inungh

Members
  • Posts

    12
  • Joined

  • Last visited

inungh's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Thanks a million for the information and help, It works now, Thanks again, Regards, Iccsi,
  2. I have following code to go to a link when user click on the button, the browser stay in the same Window, I would like to open a new Windows, I tried to add target = _blank, but no luck, Your help and information is great appreciated, Regards, Iccsi <a href="javascript:void(0)" id="aButton" onclick="javascript:window.location.href=GetLink();">My Link</a> function GetLink() { var url= "MySite.cfm?MyValue="+ document.Myform.MyText.value; return url; };
  3. <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select> Thanks for the information and help, I have above code and have this select control on the form. It only allows user to enter option value in the list, I would like user to enter a new list like 'BMW', 'Toyota' if it is missing from the list. Thanks again for helping, Regards, Iccsi,
  4. I have a select control on the form and woudl like to let user add new record if the value does not exist in the list. I do not find any property for this, users must select from the list.Can you please advise if there is any way to do so?Your information and help is great appreciated,Regards,Iccsi,
  5. Thanks for the information and help, Yes, it works after I changed s from lower case to upper case, Thanks again for helping, regards, Iccsi,
  6. I need to assign a date time value from url, if is is null or does not exist then I want to assign current date, if the value exists then I need assign the value from url. I use the following code and try to use MyDate.tostring().length ==0), but it seems that Javascript does not recognize the equation, Any information is great appreciated, Regards, Inungh if (MyDate.tostring() === "") { MyDate = new Date(); }; if (MyTime.tostring() === "" ) { MyTime = new Date(); };
  7. Thanks a million for the information nad help, Regards, Iccsi,
  8. I use same CSS style that text box always a little wider than select drop down list, Here attach the screenshot, Regards, Iccsi,
  9. Thanks for the message and help, I use text which is single line, not text area. It seems that text box I can use html attribute width, but select list using width of char, so it can not be perfect align. here is my code <input type="text" name="MyText" class="MyClass" id="MyText" value="#MySP.MyValue#" width="200" /></td> .MyClass { height: 10px; width: 200px; } <select class="MyListClass" name="MyList" id="MyList"> <option value=""> </option> <cfoutput query="MySP1"> <option value="#MySP1.MyID#" <cfif (isDefined("form.MyID") AND form.MyID EQ MySP1.MyID)>selected="selected" </cfif>>#MySP1.MyCODE#</option> </cfoutput> </select> .MyListClass { height: 18px; width: 200px; font-size: 10px; font-family: Verdana, Geneva, sans-serif; }
  10. I have text boxes and select input on the form. I have text box html property width = 200px and select input have CSS style width 200px. It shows same width at design time, but at run time text box a lot shorter then select list. Are there any property that I can configure to adjust their width to the same to make form look like nicer? Your help and information is great appreciated, Regards, Iccsi,
  11. I have following code to have user upload the file. It has a button choose file on the left and it have text for file name when user select the file. I want to the button on the the right and show a plus icon or has caption "Browser" on the button and to have a text box to have file name store in the text box. Are there any attribute or property to configure this or I need Javascript to configure my controls. Your help and information is great appreciated, Regards, Iccsi, <input type="file" name="file_path" id="Browser" value="Browser">
  12. I want to show user message when POST request complete. I need call a javascript function. I just want to know are there global variable to check in javascript function. Your help and information is great appreciated, Regards, Iccsi,
×
×
  • Create New...