Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to read from a server using JQuery?How to read from a server using JQuery?
Previous
 
Next
New Post
1/31/2012 3:31 PM
 

I'm wondering if it's my load order. I still need the file and dll's to get that template working, but I switched back to what I was doing before.

<script type="text/javascript">
        
        $(document).ready(function () {
            $.ajax({
                type: "POST",
                url: "AdvService.asmx/GetCtcDetails",
        data: "{'ID': " + "1"}",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: OnSuccess,
                error:
            });

     function OnSuccess(data, status) {
                $(".list").html(data.d);
            }

        function (request, status, error) {
                $(".list").html(request.statusText);
            }
</script>

Below is the JQuery that sets up the slide show.

<script type="text/javascript">

    $(document).ready(function () {

        jQuery('div#slideshow-box').append('<div id="slideshow-controller"><span id="nav"></span><span href=" void(0);" id="jqc-prev"></span><span

href=" void(0);" id="jqc-next"></span></div>');
        jQuery('div#slideshow-box div.list').cycle({
            fx: 'fade',
            speed: 1000,
            timeout: 5000,
            cleartypeNoBg: true,
            activePagerClass: 'jqc-active',
            pager: '#nav',
            prev: '#jqc-prev',
            next: '#jqc-next',
            pagerAnchorBuilder: function (index, elem) {
                return '<button class="jqc-button jqc-button-pages" id="jqc-button-' + index + '" value="' + index + '"><span>' + (index + 1) +

'</span></button>';
            }
        });

    });
</script> 

 
New Post
1/31/2012 3:49 PM
 
We cannot help you unless you explain the problem. 'Build errors' says nothing useful.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
1/31/2012 4:05 PM
 
Richard Howells wrote:
We cannot help you unless you explain the problem. 'Build errors' says nothing useful.

 I was just posting to see if I have syntax errors. I'm not too familiar with JQuery.

 
New Post
2/1/2012 9:51 AM
 
Okay, made progress. The problem is simply the web directory. I've set it up wrong. I've looked it up, but I get confused when they say I need to make a virtual directory. I right clicked Default Web Site in IIS and then chose Virtual Directory, but it seems to just make a shortcut.
 
New Post
2/1/2012 11:34 AM
 
A thought occurs, how can the other modules that use JQuery access tables in the database without a Web Service?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to read from a server using JQuery?How to read from a server using JQuery?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out