dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: W8 4me

Page 1 of 12 1 2 3 4

Search: Search took 0.01 seconds.

  1. I sorted it, code is only executed if the list...

    I sorted it, code is only executed if the list item clicked on doesn't have the class "active".



    $('li').click(function() {
    if (!$(this).hasClass('active')) {...
  2. Hi thanks, I hope this is useful.

    Hi thanks,

    I hope this is useful.


    <style type="text/css">
    #content > div {display: none;}
    #content > div > div:not(:first-child) {display: none;}
    .active {margin-top: 15px; font-weight:...
  3. jQuery Jackpot! $('input:radio').change( ...

    Jackpot!



    $('input:radio').change(
    function() {
    if ($(this).is(':checked') && $(this).val() == 'yes') {
    $(this).closest('div').nextAll('.yes').slice(0,1).fadeIn();
    }
    });
  4. jQuery .findNext() in jQuery? DOM traversal problem

    Hi all,

    I'm having a bit of trouble traversing the DOM. Any time a "Yes" answer is checked, the next ".yes" div should fade in. I will also being doing the same for the No's, but can't get this to...
  5. Hi all, Thank you for helping. I had a...

    Hi all,

    Thank you for helping.

    I had a conflict - upon clicking a list item, I set all divs to hide.

    I remove that line of code, and have had to control the visibility in each instance of...
  6. When I get home later I'll strip everything down...

    When I get home later I'll strip everything down onto a blank page, there must be something else messing this up for me.

    To confirm, this doesn't work:



    $('.about').click(function() {
    if...
  7. No sorry I didn't see that, I Ctrl F'd for jQuery...

    No sorry I didn't see that, I Ctrl F'd for jQuery and it didn't find anything.

    nap0leon thank you but that's not worked. I always have this trouble, something so simple but seems to be so...
  8. jQuery - click fades in every time, should only do it when div is not visible

    Hi all,

    I have an unordered list with list items for navigation. When a list item is clicked on, it displays a CSS'd display: none div using fadeIn();

    The trouble is, every time the list item...
  9. Replies
    0
    Views
    927

    jQuery Autofocus doesn't work in iframe

    Hi guys,

    I was just wondering how to fix this issue. On my main website I have an iframe that contains a form. I'm using
    $('input:first').focus(); to autofocus the first text input, which is...
  10. I tried this but it won't save the phone number...

    I tried this but it won't save the phone number and email address:

    if($_POST["Name".$i]!="")
    {
    $Qry = "Name='".cleanQuery($_POST["Name".$i])."'";
    $Qry .=...
  11. Database field names changes - can't seem to change these in my PHP file

    Hi,

    I have changed two field names on my MySQL database:

    Phone is now PrimaryPhone
    Email is now PrimaryEmail

    However I have tried to change these like-for-like on the control panel for my...
  12. Replies
    1
    Views
    2,508

    jQuery if not IE, change style

    Hi all,

    The !IE HTML tag isn't working so I am trying to use jQuery. The code below isn't working. Please can you help?



    <div id="notie">
    <img src="images/warning.png" /> I'm sorry, you're...
  13. Replies
    2
    Views
    902

    Junk kills my server

    Hi,

    I'm really screwed on this - I run a website to aid the company I work for. It has come to my attention that when junk is entered into my password box, it knocks my website offline. I then...
  14. What is the definition of software? How do I protect what I've created?

    Hi all,

    I'm developing a web-based tool for my work using HTML, CSS, JavaScript, PHP and a MySQL database.

    My employers haven't asked me to do this.

    I have already launched the database part...
  15. Is my this password protection script safe from SQL injection?

    Hi all,

    I've had a bit of trouble with this script I found. Someone entered in some junk into the password field and broke my website for 15 minutes. I couldn't get into FTP, or into my host's...
  16. Script won't search DB - have I been conned??

    Hi,

    I'm really worried that I've been duped out of some money. I paid a freelancer to write me some code to search my database and output results.

    I was wondering if you'd be able to have a...
  17. function blueme(lable) { var...

    function blueme(lable) {
    var frm=lable.form,ip=lable.getElementsByTagName('INPUT')[0],rads,z0=0;
    if (ip){
    rads=frm[ip.name];
    for (;z0<rads.length;z0++){
    ...
  18. Thank you very much everyone, your help is really...

    Thank you very much everyone, your help is really appreciated.

    If I may ask another question, I've set up a draft of the markup that should be generated by the queries, below (using SC7639's...
  19. Search database - how to pull data from child tables? (beginner, sorry)

    Hello,

    I'm a beginner with databases and MySQL/PHP, but know enough to macguyver things together ...somewhat.

    I've managed to create a database with three tables - Merchants (a list businesses...
  20. I created an offline test page called test.html -...

    I created an offline test page called test.html - it was just a rough check to see if a different copy-to-clipboard script would work, so I didn't bother putting in a doctype. Lo and behold, my...
  21. Hi thanks for that, unfortunately the same thing...

    Hi thanks for that, unfortunately the same thing happens.
  22. Carriage returns removed from textarea when copied to clipboard

    Hi guys,

    I'm using the following script to copy the contents of a texarea to the clipboard. Seems to only work in IE but that's not an issue as this is a tool for work where everyone uses IE...
  23. Replies
    3
    Views
    33,053

    Auto-refresh page once only after first load

    Hi all,

    I have a web page which isn't working as planned in IE9 (no surprise here). A quick fix is to have the page auto-refresh itself once only after first loading (not continuously). I've tried...
  24. Hi Roy, Thanls, sorry but can't seem to rip...

    Hi Roy,

    Thanls, sorry but can't seem to rip server side code.
  25. Password protected site/admin page to update MySQL db

    Hello,

    I'm wondering if you'd be able to help me, I'm just looking for a noob-and-efficient way to do the following:

    1. Make my site password protected - username should be the same for each...
Results 1 to 25 of 277
Page 1 of 12 1 2 3 4
HTML5 Development Center



Recent Articles