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 SkipVought 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. WebRic

    returning javascript from an ajax call

    hi all, thanks for the repsonses. I'm using an old version of SACK for the AJAX. I've managed to find more problems & solutions. I've now seem to have it working but with a delay. I.e. an onclick event to initiate the AJAX call won't display until a subsequent onclick event is fired. It's...
  2. WebRic

    returning javascript from an ajax call

    Hi, I've a page the use AJAX to call up some HTML. There is a fair amount of HTML so I break into 50 character per line using server side code and the present it back. I escape the speech marks using \. However, I have some inline javascript and some functions which I think is messing up the...
  3. WebRic

    Setting Delay

    It was only happening on some of the drop downs. Managed to sort it with a css hack though.
  4. WebRic

    drop down menus

    Hi, I'm trying to sort out drop down menu of nested lists. I'd previously been using the suckerfish script which scans through the code adding onmouseover & out event to the <li> elements. Problem is I would really like it if this was only activated after an onclick event. i.e. the dropdown...
  5. WebRic

    backspace actions

    Thanks monksnake. Also, cheers for the advice trollacious, I was hoping to make a ajax messaging system with a similar sort of affect as when your adding the emails in outlook. Your right there would still be a problem with a typo correction, but there are technical reasons I still need it.
  6. WebRic

    backspace actions

    Hi, I've a list of full names in a text field. I'd like it so that if a name was partially deleted it would be fully removed. For example: joe blogs, john smith, darren peterson,| if the pipe represented my cursor and I pushed the backspace button once I would be left with joe blogs, john...
  7. WebRic

    Trusted Site

    Thanks that's a good idea!
  8. WebRic

    Setting Delay

    Hi all, I have some menu script that is misfiring. For some reason my onmouseout event seems to fire occasionaly when I roll onto the next item in my list. I was thinking an easy way round this would be to put a delay on the onmouseout event: sli[x].onmouseout = function() { this.className =...
  9. WebRic

    Trusted Site

    OK thanks. Richard
  10. WebRic

    Trusted Site

    Hi all, Is it possible to detect if your site has been added to the clients trusted site list? Thanks
  11. WebRic

    disable option

    Thanks Monksnake, I'll check that out.
  12. WebRic

    disable option

    Hi all, Not sure if this needs to be done via javascript or whether it can be done in HTML, but I'd like to be able to disable individual options within a select field. i.e. <select name="select" multiple> <option value="1">opt 1</option> <option value="2" disabled>opt 2</option> </select>...
  13. WebRic

    javascript from Ajax

    Hi, Is this possible? I use Ajax call to a page. Within the called page I create some html which also contains a javascript element with a standard function in. I write this all into a variable escaping quotes and loop over it so there is about 50 characters per line. var myNewContent = " "...
  14. WebRic

    variable in a variable

    figured out how to do this now. Using eval() Thanks, R
  15. WebRic

    variable in a variable

    Hi, I'm sruggling to figure out how to write this bit of code (below). Depending on which radio button is click I want a number to be passed to here: addressr.value <script language="JavaScript" type="text/JavaScript"> function updateaddress(addressr) { var formObj =...
  16. WebRic

    show/hide fieldset

    Hi all, I have a section of a form that looks like this: <fieldset class="hideme" onclick="endhide(this)"> <legend>Properties is less than 5 years old</legend> <em>If the property is less than 5 years old, please enter the following</em> <div> <label class="left-label" for="developer">Name...
  17. WebRic

    doble onsubmit methods

    Is it possible to run two consecutive onsubmit methods on a form? Would sopmething like this be OK? <form name="register" action="register.cfm" method="post" onsubmit="return something(this);return othersomething(this)"> Thanks, R
  18. WebRic

    Onclick move to anchor

    This forums is great! Cheers Kaht R
  19. WebRic

    Onclick move to anchor

    Cheers Kaht. That very nearly worked. The only problem I have is that if the link is re-clicked I end up with multiple anchors in the URL is www.mydomain.com/default.html#blah#blah#blah#blah is there a way to check if an anchor exists before adding it on the end?
  20. WebRic

    Onclick move to anchor

    Hi all, Is there an onclick event I can use to move to an anchor? I have a form that loads some innerhtml content to a div tag via ajax. I'd like to jump down to this point without using the href="#whatever", is this possible. Regards, Richard

Part and Inventory Search

Back
Top