Search results

  1. anuj_web

    Accessing all from elements :Javascript

    Hi, I am trying to access all form elements using this JS code function srchvalidate(theform) { var str = ''; var elem = document.getElementById('theform').elements; for(var i = 0; i < elem.length; i++) { if(elem[i].value=="") { alert("You have not filled all parameters"); }...
  2. anuj_web

    PHP Error :

    got it :D
  3. anuj_web

    PHP Error :

    ok...thanks i'll keep that in mind but session_start is a php command how can it begin before <?php ??
  4. anuj_web

    PHP Error :

    Hi Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/anujweb/public_html/Check.php:3) in /home/anujweb/public_html/Check.php on line 7 why does this error occur..this does not come up when run the...
  5. anuj_web

    JS Code not working ....Help!!!!

    Hi,,, function emailnot() { if (document.frmrreg.chkemail.checked==true) { document.frmrreg.txtchk.value="1"; alert(document.frmrreg.txtchk.value); } else { document.frmrreg.txtchk.value="0"; alert(document.frmrreg.txtchk.value); } can neone point out y this code is not...
  6. anuj_web

    PHP: post hidden textboxes' values

    wat i understand form this post of yours is that every hidden field will be "posted"..if i have given it a name and a value ...right ?? Does it matter whether I give it a value at runtime...I also change the type of button( from button to submit) and also change the action of form( from...
  7. anuj_web

    PHP: post hidden textboxes' values

    what is the syntax to add more than one source files ?? i''l try wat you r saying about that PHP wat about this ??
  8. anuj_web

    PHP: post hidden textboxes' values

    Hi... how can i post hidden text boxes values..... And one more thing... I have designed my page using a software... Some form elements ,i dont know how ...i cannot access them thru the form ... like i could not post the value of a text box(this one is not hidden) and I used a loop to...
  9. anuj_web

    How to identify Combobox control (HTML)

    It works now thanks...i feel the problem was with the "form" passing itself
  10. anuj_web

    How to identify Combobox control (HTML)

    Hi.. it does not work even after that :( function Validate(theform) { var elem = document.getElementById('theform').elements; for(var i = 0; i < elem.length; i++) { if(elem[i].type=="select-one" && elem[i].value=="") { alert('You have not selected all required Parameters')...
  11. anuj_web

    How to identify Combobox control (HTML)

    Hi... How can i identify the type of a combobox element.. like the text box is identified by the type "text" I got that one.... but when I try to check the values of all the comboboxes it does not work function Validate(theform) { var elem =...
  12. anuj_web

    How to get reference to all Form elements

    Thanks Asif for that quick reply..... I found this while googling.... <script> function disableForm(theform) { if (document.all || document.getElementById) { for (i = 0; i < theform.length; i++) { var formElement = theform.elements[i]; if (true) {...
  13. anuj_web

    How to get reference to all Form elements

    Hi I want to check for all elements if they are blank or not all at once bcoz i have too many text boxes... Is there ne javascript method for the form to check this ?? thanks
  14. anuj_web

    HTML help...

    I have gone through this already ..the code is very complex for noobies like me.... the link I posted has a very simple code ...and it works as wel...but I cannot understand it and ....use it I tried all the P&C's by putting lines from that in2 my code...but cant help it :( neway...
  15. anuj_web

    HTML help...

    The problem with embedding is that the width of columns and other cells wont match..:( i tried using two tables I found this code...seems to be short and simple ...just cant understand.... http://rcs-comp.com/blog/scrolling_table.zip
  16. anuj_web

    HTML help...

    Hi... I am using a html table...added a background image to the "DIV" it is in ....It can be scrolled...but when I scroll I want the heading of the columns to remain at the top everytime.. how can i do this ? thanks EDIT : I found this while googling...
  17. anuj_web

    PHP MySQL HTML generating tables... after..fetching recods

    gr8 thanks repped...you are a sweet marshian ..i bet there are humans ther too...:D thanks a lot for your help btw how can i close this thread...read a post by some MOD a day before.. it is not working ?? :( <style type="text/css"> table { table-layout:fixed; width:100%...
  18. anuj_web

    PHP MySQL HTML generating tables... after..fetching recods

    thanks man.... i put that line inside the for loop... there is one last question .. and can u tell me in case my table has got too many records from the table how can increase the page height along with it ?? or can i make the table scrollable ??
Top