Method: HistoryIE#set

Defined in:
lib/red_query/history.rb

#set(hash) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/red_query/history.rb', line 18

def set(hash)
  `var d = #{@iframe}.__jq_native__.contentWindow.document;
  d.open();
  d.close();
  d.location.hash = #{hash}.__value__;
  `
  true
end