Difference between revisions of "User:Andr3w/vector.js"

From SQLZOO
Jump to: navigation, search
Line 1: Line 1:
 
$(function(){
 
$(function(){
   console.log(window.location);
+
   if (window.location.search.contains('answer')){
 +
    $('.quf textarea').each(function(){
 +
      var ans = $(this).closest('form.quf').next('.ans').text()
 +
      consol.log(ans);
 +
    })
 +
  }
 
})
 
})

Revision as of 20:06, 28 February 2013

$(function(){
  if (window.location.search.contains('answer')){
    $('.quf textarea').each(function(){
       var ans = $(this).closest('form.quf').next('.ans').text()
       consol.log(ans);
    })
  }
})
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense