www.webdeveloper.com

Search:

Type: Posts; User: atuch

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,351

    Option 1 will have better database performance. ...

    Option 1 will have better database performance. Unless you plan on adding a lot of fields on the fly I would stick with option 1.
  2. Replies
    1
    Views
    6,259

    The existing code is a JSON object (not an array)...

    The existing code is a JSON object (not an array) and what you are trying to convert it to is not valid syntax. What exactly are you trying to do? By eliminating the quotes, you are converting the...
  3. Replies
    2
    Views
    1,233

    This is not an ASP question, its all about...

    This is not an ASP question, its all about understanding HTML. You basically have 2 options here. You can either load in contact.aspx into an iframe in the bottom div or instead of doing a standard...
  4. Json

    You need to format your php response as a JSON string so that you will be able to parse each field. Take a look at www.json.org to learn how to format data in JSON.
  5. Thread: quick question!

    by atuch
    Replies
    5
    Views
    985

    I don't see why that wouldn't work. Maybe you...

    I don't see why that wouldn't work. Maybe you need to clear your cache and then reload. It might not be loading the latest javascript changes you have made.
  6. Thread: quick question!

    by atuch
    Replies
    5
    Views
    985

    window.onload is what is called an event handler...

    window.onload is what is called an event handler since it handles the load event of the window object. Try the code below...



    <script type="text/javascript">
    window.onload=function() {
    ...
  7. Ajax

    Do some research on AJAX. You basically want to do an XHR and read the response from the php file. I would recommend using a javascript library such as jquery to make it easier.
  8. Replies
    7
    Views
    1,513

    If you are using php, you can use the built-in...

    If you are using php, you can use the built-in function mysql_affected_rows to tell you.
  9. Replies
    7
    Views
    1,116

    Any device with internet access should be SOAP...

    Any device with internet access should be SOAP capable. SOAP is just xml formatted in a certain standardized way. The mobile application should be able to write the SOAP request and abide by SOAP...
  10. Replies
    4
    Views
    1,074

    What I usually do is create a CSS file...

    What I usually do is create a CSS file specifically for IE hacks and use HTML conditional statements to include it. With IE at about 80% of the browser market share, its not worth the risk of losing...
  11. Sorry to say, but its very very easy for a...

    Sorry to say, but its very very easy for a spammer to get around this anti-spam "solution". First of all, a spammer doesn't hit the front end of your website, so they could care less about any CSS...
  12. Replies
    7
    Views
    1,017

    You don't have a toString function defined, yet...

    You don't have a toString function defined, yet you are trying to use it in your function. You shouldn't even need to convert the result to a string because you can stick a numeric value in the...
  13. Replies
    7
    Views
    1,044

    Just set the default document of your web server...

    Just set the default document of your web server to be index.htm and then it will load that file before all others.
  14. Replies
    4
    Views
    845

    Flash

    If you are worried about people re-using your images, you have 2 solutions.

    Watermark your images
    Create a flash movie to show your images
  15. Thread: jQuery Issue

    by atuch
    Replies
    1
    Views
    595

    The best solution would be to return a JSON...

    The best solution would be to return a JSON object from your page2.php with 2 indexes in it. One would be the status (added successfully, already exists, etc). The other would be the quote. So...
  16. Replies
    5
    Views
    1,018

    The problem is that you are calling the...

    The problem is that you are calling the document.write(error) line immediately after your function definition and most likely before you run the function, so it will always be blank. You need to run...
  17. Replies
    2
    Views
    820

    IE6 cannot render transparent PNG images. You...

    IE6 cannot render transparent PNG images. You can use this HTC behavior fix to make it work.

    http://www.twinhelix.com/css/iepngfix/
  18. Replies
    19
    Views
    2,343

    Also, your if condition needs to be inside...

    Also, your if condition needs to be inside parentheses. if ($result)
  19. Replies
    19
    Views
    2,343

    Header should be header - all lowercase

    Header should be header - all lowercase
  20. Replies
    10
    Views
    759

    No, you need to create a class if you want to be...

    No, you need to create a class if you want to be able to call a function via some sort of object. You can store instantiated classes (objects) in arrays if you want.
  21. Replies
    6
    Views
    1,825

    It is safe to do that as long as you have some...

    It is safe to do that as long as you have some sort of validation for the id variable because you are left wide open for a sql injection attack. Make sure that, at the very minimum, the id field is...
  22. Replies
    3
    Views
    1,092

    Here are a few explanations below... ...

    Here are a few explanations below...

    http.readyState = 0 means the request is not yet completed, 4 means it has been completed
    http.status = this is an http status, ie 404 is page not found, 500...
  23. Replies
    5
    Views
    951

    It is not possible to hide javascript. If you did...

    It is not possible to hide javascript. If you did hide it, the browser would not see it either and it wouldn't work anyways.

    There is no need to pass the session id in a querystring variable to...
  24. Replies
    12
    Views
    5,323

    Use a form with the GET method and name the input...

    Use a form with the GET method and name the input box "kwds"
  25. Replies
    5
    Views
    951

    You can use XML or JSON or whatever you prefer. ...

    You can use XML or JSON or whatever you prefer. Just make sure you are pulling the AJAX content over SSL and that you add decent authentication logic so that nobody can pull the data without...
Results 1 to 25 of 31
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles