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 Wanet Telecoms Ltd 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: *

  • Users: meenu24
  • Content: Threads
  • Order by date
  1. meenu24

    how to display the div above the main page.

    Onclick of a button I am making a Ajax request and displaying the contents in a div in the center of the page. But the problem is the div portion gets displayed behind the main page. How do I solve it. I tried adding a css for the div with higher z-index then the main page. It did not work. my...
  2. meenu24

    display position of the div

    Hi I am trying to position a div in the center of the page. I have a function which finds the browser type and gets the height and width. How do I use this to display the div in the center of the page function Browserinfo() { var browserName=navigator.appName; alert(browserName); var...
  3. meenu24

    How to acess request attribute in java script

    Hi I am using ajax to submit the request and then getting the response back to display contents of a div. this is my code. function showDiv(setname,url) { if (window.XMLHttpRequest){ // if Mozilla, Safari etc page_request = new XMLHttpRequest(); } else if (window.ActiveXObject){ // if IE try...
  4. meenu24

    find index of < symbol in a string

    Hi I am the following encoder to unencode by < symbol. This unencoder worked for &nbsp quite well. Thanks to Adam again. String.prototype.htmlUnencode = function(){ var div = document.createElement("div"); div.innerHTML = this; return div.innerText; } var str = "<sometext"...
  5. meenu24

    replacing leading white space

    Hi, I am using the following code to replace the blank spaces. This is value selectedText[i] receives. selectedText[i] =     somevalue; I want "somevalue" With the following code I still receive the same old value. var space = /^\s+/; selectedText[i] =...
  6. meenu24

    Tomcat starting propely, but no all the requests hangs

    Hi When I start the tomcat , it starts perfectly, but all the requests hang for ever. I tired looking in to server.xml everything seems to be normal. I am confused of what would be the cause for this. Thanks for your time
  7. meenu24

    Popup window positioning

    Hi, I am trying to write a javascript to create a popup window. I am using struts framework and forwarding the request to a jsp and further populating details in JSP. This is my script function showpopup(setname) { //alert(setname)...
  8. meenu24

    onclick event should show a small window just below the button

    Hi, I have a button, when I click it, it should go to DB and fetch some data and display data in a small window below the button with a close sign. What should be my option for window and how do it show it on button click. Thanks for your time Meena
  9. meenu24

    Popup window with AJAX

    I have a submit button , when I click it, I have to go to DB and fetch data and present in a popup window. Since a DB operation is involved I beleive that AJAX will be a better solution. Please let me know how to do it, since I am a newbie to AJAX and UI. Thanks Meena
  10. meenu24

    reading all options of a select element in a form

    Hi, When I submit the form, to the servlet my servlet should read all the options of the select element in the form. For this to happen user need not necessarily select all the options. Please let me know if there is a way we could do this. Thanks for your time Meena
  11. meenu24

    changing the size of the blank_widnow.

    Hi I am using the following code to display a image in the blank window. I wanted to change the widhth and height of the blank window to a particular value. I could not figure out the way of doing it. Thanks for your time and suggestions. <a href="image.jpeg" target="_blank">clickhere</a>...
  12. meenu24

    Error when submitting a form

    The code is as given below. WHen I submit this form I get a error alert " 'document.form2' is null or not an object". I am confused of why this the error. Any suggestions welcome. Thanks for your time. <script> function sub2() { try { document.form2.submit(); } catch(err) { al = err.description...
  13. meenu24

    How to show a DIV block through Java script

    Hi, I am trying to show/hide a row in a table after checking a value. THis is my code <html> <script> function showDiv() { document.getElementById('imageDiv').style.display="block"; } function hideDiv() { document.getElementById('imageDiv').style.display="none"; } function init(var1) { if(var1...
  14. meenu24

    dynamic alocation of &quot;src&quot; value through java script - help please

    Hi I have a row in the table. <td><a href="somevalue1"><img src="somevalue2"></td> Is it possible to write a java script to dynamically change the value of href and src. i.e I have program when mouseover on a certain row, the values of the above href and src must be decided by the java script...
  15. meenu24

    Help with java script and time delay

    Hi, I have a logic, where I have to trigger the java script after a time delay but with little complications. In a text field I am typing the word for search. If I type a letter and there is no further keyboard acitvity for one second it should call the java script automatically. In the same...
  16. meenu24

    Help with java script function

    <html> <head> <script type="text/javascript"> function gethelp(txt1) { try { var al if(document.getElementById('raw').value == txt1) { document.write(txt1) } } catch(err) { al = err.description alert(al) } } </script> </head> <body > <table> <tr ><td onclick="gethelp('hello')" id="one"...

Part and Inventory Search

Back
Top