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 strongm 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
  • 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, Thanks for your suggestions. Being a newbie in html and js I guess, I keep learning day by day. By the way this is a internal application which will be used for IE browsers, I was just testing with safari also. Our expert opinion would be really useful to me. thanks Meena
  3. meenu24

    display position of the div

    Thanks jeff. I forgot to mention this, page is dynamic and div has to be displayed only after I press some button, which fetches some data and div has to present it. How do I call div and pass this position, which I calculate. I have not tested it in Fx and IE greater then 4 versions. thanks Meena
  4. 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...
  5. meenu24

    How to acess request attribute in java script

    Thanks Dan, you mean forming response in XML format from the servlet and then returning will be best solution. I use struts, this is my servlet code. request.setAttribute("setname", setName); return mapping.findForward("setaffiliates"); I guess, I have to form some XML and then forward the...
  6. 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...
  7. meenu24

    find index of < symbol in a string

    I fixed the typo, still I did have the problem, but I had a work around, which did not involve the "<" symbol removal. Thanks for the followup Meena
  8. meenu24

    find index of &amp;lt; symbol in a string

    Hi I am the following encoder to unencode by &lt; 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 = "&lt;sometext"...
  9. meenu24

    replacing leading white space

    Thanks Adam, I forgot to use the encoder now it works like magic! thanks again.
  10. meenu24

    replacing leading white space

    Thanks Adam selectedText[i] = selectedText[i].replace(/^\s+|\s+$/g,''); theSelTo.options[theSelTo.options.length]=new Option(selectedText[i],selectedValues[i],true,true); I used above code, still I get the same value with blank spaces in the option field. Where am I going wrong. Thanks...
  11. 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] = &nbsp;&nbsp;&nbsp;&nbsp;somevalue; I want "somevalue" With the following code I still receive the same old value. var space = /^\s+/; selectedText[i] =...
  12. 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
  13. meenu24

    Popup window positioning

    Thanks Einstein47 I searched through the site, I was not able to locate AnchorPosition.js. The site seems to be useful though.
  14. 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)...
  15. meenu24

    Popup window with AJAX

    Thanks for your suggestions, I am using java script and JSP to do this.
  16. 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
  17. 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
  18. meenu24

    reading all options of a select element in a form

    thanks Baby Jeffy for a qiuck response. My options values are of two types, generated from DB and also some of them added from the other select element. In that case how do I keep the all the values in the hidden feild Meena
  19. 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
  20. meenu24

    changing the size of the blank_widnow.

    Thanks BillyRay. Great. It worked for me. I tried to add a close button in the new window. BUt it did not work though. Any ideas.... THanks in advance regards

Part and Inventory Search

Back
Top