www.webdeveloper.com

Search:

Type: Posts; User: nursa

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,521

    Maybe, but as the article explains, the scientist...

    Maybe, but as the article explains, the scientist responsible for the new theory believes Einstein was wrong to assume that matter can be infinitely condensed.

    I cant remember the exact details...
  2. Replies
    0
    Views
    1,038

    returning SQL error messages to ASP envmnt

    Hi all

    I'm posting this in here first because i have a temporary solution i use in SQL but not sure if the whole problem relates to SQL only:

    I'm trying to return an error message you get from...
  3. awsome, thanks

    awsome, thanks
  4. no worries, but this: &"" &" " &"-" &" " &""&...

    no worries, but this:

    &"" &" " &"-" &" " &""&
    could be shortened to this

    &" - "&
    not sure why you have &"" ? (its adding nothing but still using memory to compile) - each ampersand causes an...
  5. [RESOLVED] split one long string into a multi-dimentional array?

    if i used this code to retrieve a form's elements and values, would i be able to split it down into (in this case) a 2 dimensional array? if so, how? :D


    Dim i, arr1
    arr1=split(Request.Form,"&")...
  6. ok cheers

    ok cheers
  7. i had to use '.value' : function...

    i had to use '.value' :


    function validate(str) {
    alert(str.value)
    if(str.value != "") {
    alert("null check passed")
    if(str.value.match(/[^0-9a-z]/)) {
    alert("Only A-Z and...
  8. lol thanks, i thought it was something that simple

    lol thanks, i thought it was something that simple
  9. yea sorry, thought you'd upgraded sql server, not...

    yea sorry, thought you'd upgraded sql server, not iis :o
  10. thanks Fang - one more thing - do you have to use...

    thanks Fang - one more thing - do you have to use getElement to match the value, or can you just pass a string to the function?
    e.g.

    function validate(string){
    if string.value != ""{
    if...
  11. isn't that an sql question?

    isn't that an sql question?
  12. I have a more basic question about validation -...

    I have a more basic question about validation - can someone give me a link to a tutorial about validating input that is only numbers and letters?

    i.e. i want an input that can only be a-z/0-9.
    ...
  13. i dont really know what you mean anymore, get to...

    i dont really know what you mean anymore, get to grips with html first. its the basis for all web pages
  14. Yea like I said simora, I thought you only wanted...

    Yea like I said simora, I thought you only wanted to know how to put 2 values into 1 selection box (hence the title) request.form gives you all the values from your elements. But you're not asking...
  15. Ok, maybe something like this? ...

    Ok, maybe something like this?


    Response.Write "<OPTION VALUE = '"&oRs('CourseName')&"|"&oRs('CourseID')&"'>"
    Response.Write "description"</Option>"

    then if it's selected use js...
  16. Replies
    6
    Views
    2,521

    Something for your brain

    http://www.newscientist.com/article/mg20727703.000-every-black-hole-may-hold-a-hidden-universe.html

    According to this, i reckon we should be calling them worm-holes already - not black holes! :eek:
  17. ok, i think you're reffering to this, which is...

    ok, i think you're reffering to this, which is more or less what i posted earlier:


    Do while not oRs.EOF
    if Request.Form("courses") = oRs("CourseName") then
    Response.Write "<OPTION...
  18. first of all, are you retireving the data from...

    first of all, are you retireving the data from the db ok? test this by looping through all the fields in your recordset. e.g. 'for each x in myrecordset.fields response.write x.name next'

    secondly...
  19. can you have multicolumn listboxes? You have...

    can you have multicolumn listboxes?

    You have to use html code to print your page, so if you're using asp you'll have to 'response.write ("<html>blah blah</html>")'

    In which case you can use...
  20. PSPad is my favourite, you can specify the...

    PSPad is my favourite, you can specify the language and it highlights the text accordingly!
  21. thanks both - some new stuff in there for me to...

    thanks both - some new stuff in there for me to experiment with
  22. thanks for that Declan, it works fine. I didnt...

    thanks for that Declan, it works fine. I didnt realise it wasn't natively possible to hide elements by class name without using some kind of function until after i'd posted.


    var i = 0; i <...
  23. ah - just found this: ...

    ah - just found this:

    http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/

    i will persist
  24. BTW- i can get it to work using getElementById,...

    BTW- i can get it to work using getElementById, but i want to use classes to save referencing every element
  25. [RESOLVED] getElementsByClass: missing the obvious?

    i cant get this to work, what am i missing??

    I'm trying to make the 'report' selection box show/hide other selection boxes using the class. (in this example i want it to hide the 'client' selecter...
Results 1 to 25 of 30
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles