Widget:CJP: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
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() { |