Hello,

I am developing a Task list to help myself learn Jquery better.  I am 
working on trying to add a mix of plugins and writing my own stuff.

Here is my first issue:

http://localhost/cf/cftask/jq_clientsites.cfm?mycl=undefined&_id=client&_name=client&_value=1

mycl is undefined.  I cannot seem to get it to work. 

Here is the code:

$('#client').chainSelect('#clientsite','jq_clientsites.cfm?mycl='+$('#project').attr("value"),
    {
        before:function (target) //before request hide the target 
combobox and display the loading message
        {
            $("#loading").css("display","block");
            $(target).css("display","none");
        },
        after:function (target) //after request show the target combobox 
and hide the loading message
        {
            $("#loading").css("display","none");
            $(target).css("display","inline");
        }
    });


<select name="project" id="project">
       
        <option value="1">Project 1</option>

        
        <option value="2">Project 2</option>
</select>


Can anyone point me in the right direction?


Thanks!

Randy

 


Reply via email to