Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mike10101

    Mouse Slider Effect

    Hi, I written the following script: function changeWidth(elm,toWidth){ var width = parseInt(elm.style.width); var change = toWidth-width; var total=width+Math.round((change/2)); var timer; elm.style.width=total+'px'; function c() { changeWidth(elm,toWidth); }...
  2. mike10101

    Checkbox with associated textfields

    Hi, I have been struggling to work out the best way of associating a group of dynamically generated checkboxes with their corresponding textfields. Do you know where I can find any good examples of this? Thanks, Mike
  3. mike10101

    ParseInt Does work in Firefox

    sorted... it wasn't working in FF because I used an invalid attribute in the input tag that called the funtion. IE didn't seem to mind, however FF refused to define it. Wish I had realised that sooner.. Many thanks for your support. Mike
  4. mike10101

    ParseInt Does work in Firefox

    thanks for the replies, with regard to: document.FrmAdd.ExtrasCount.new_val. This was just a bit of old testing code I left in and have now rectified. I have also added the base parameter but still displays NaN in FF. I have added the following code as a test: var checked, value function...
  5. mike10101

    ParseInt Does work in Firefox

    Hi there, I have written the following javascript which works perfectly in IE but doesn't work in Firefox, I believe it this is due to passing in two variable into the function. Can anybody shed any light? function optionPrice(checked, value) { if (checked == true){...
  6. mike10101

    User Verification

    Hi, I not sure if this would necessarily be a JavaScript issue but I’m completely lost and any help would be great. I have been asked to set up a system that verifies a users name and address using their bank details or maybe some other form of id. Does anybody know of a service that external...
  7. mike10101

    Javascrit function

    brilliant.. I think I must have tried everything apart from that. thank you very much.
  8. mike10101

    Javascrit function

    Hello, when setting a field in a document to a specific value like below, document.Form1.qnt_handmic.value = 0 Is it possible to use a variable instead of specifying the textfield 'qnt_handmic' I have tried to illustrate what i'm trying to achieve here. function quantity(current_texfield)...
  9. mike10101

    add link in textarea

    Excellent, thank you very much. that worked perfect
  10. mike10101

    add link in textarea

    Hi, I am using the following function to insert a link on selected text in a textarea function formatTextLink (tag) { var selectedText = document.selection.createRange().text; if (selectedText != "") { var newText = "<a href='" + tag + "'>" + selectedText + "</a>" ...
  11. mike10101

    PostBack(Object) from select option

    nice one!!! that would have taken me about 2 years to have worked out... do you know of any good books so I can learn this stuff myself.
  12. mike10101

    PostBack(Object) from select option

    Thanks for the quick response, how can I do it so it only returns the selected option content and not all the options
  13. mike10101

    PostBack(Object) from select option

    Hi, here is the javascript i'm using, <script language="JavaScript"> <!-- function PostBack(Object) {document.form1.yourTextField.value=Object.value} //--> </script> here is the option list, <select name="frm_agency" onClick="PostBack(this)"> <option value="1">OPTION1</option>...

Part and Inventory Search

Back
Top