Widget:CJP: Difference between revisions

Jump to navigation Jump to search
Christopher Popma (talk | contribs)
No edit summary
Christopher Popma (talk | contribs)
No edit summary
 
Line 6: Line 6:
         $('#searchParameters').append('<string>[[Pill Shape::</string>'+$('#selectPillShape option:selected').val() +'<string>]]</string>');
         $('#searchParameters').append('<string>[[Pill Shape::</string>'+$('#selectPillShape option:selected').val() +'<string>]]</string>');
         $('#pillTable').css('visibility','visible');
         $('#pillTable').css('visibility','visible');
        var api = new mw.Api();
            api.parse( $('#pillTable') )
            .done( function ( html ) {
        console.log( 'Parsed result:', html );
            } );
     });
     });
     $('#executeReset').click(function() {
     $('#executeReset').click(function() {

Latest revision as of 13:36, 29 May 2014