Hello guys, this is my problem.
I have a video tag, whose src is an url. Like this:
var video = $('video'); ///using prototype js framework
video.setAttribute('src',
'aNiceUrl');
The problem is that i need to get some data from the video HTML header, but i dont know how to get it. I need to get the data in the same moment i ge...
What I am wondering is if there is an alternative way to load and embed the content into pages using a Firefox Addon. I know I can load the content using things like io-service and scriptableinputstream to avoid the X-Frame-Options issue, but how can I then write that content into an iframe added to the DOM of the page, have it load prop...
Hi,
I select
$("a.tp[programm='" + programm + "']");
then I want to select its nested element span.thump and set the text of it. How do i realize that?
<h4><a programm="74" class="tp" href="#"><img src="/images/tuo.png"></a><a href="">
<img width="180" height="40" src="/images/kauf_default.png"><br>test
<span class="thump">1</spa...
I'm trying to generate a chart in my Rails 3 project using the canvasXpress HTML5 / JavaScript library. Their charting API uses JSON as one of the parameters in their constructor. For example:
new CanvasXpress('canvas', /* JSON here */);
In Rails I'll have a view which renders the chart as part of it's overall output. So, the JavaSc...
Hi all,
I am stepping through code, and I realized I cannot close a window, because the DispHTMLWindow2 object close property is still to true.
if(winObject.closed != true)
winObject.close();
The problem is winObject.closed == true, and the window is clearly open.
Any ideas where I can look to figure this out?
Thanks,...
Hello,
I want to allow basic <strong>, <em> and lists with ckeditor.
However I want NO <br> and no paragraph tags, as I nlb2 my content and I want it to be essentially naked.
Via google I found that I could do:
$(function() {
$('#description').ckeditor({
enterMode : CKEDITOR.ENTER_BR,
shiftEnterMode: CKEDITOR.ENTE...
Hello,
I'd like to know if there is a way to tell if the RadToolBarButton "Filter" is checked or not using JS.
<telerik:RadToolBar ID="SelectionToolBar" runat="server" OnButtonClick="SelectionToolBar_Click" OnClientButtonClicking="clientButtonClicking">
<Items>
<telerik:RadToolBarButton Value="Flagged" ...
I want to print some stuff on to labels of a predefined size. Can the layout be done in the browser and printed?
Obviously the problem is that it seems that size is not guaranteed when printing from the browser.
Avery only provides word doc templates (possibly for this reason)
Question:
Can layout dimensions be guaranteed when prin...
Hi Folks,
I am working on a sample problem on jsFiddle at http://jsfiddle.net/Q9yHD/
I am trying to add a border to my table with code:
$("#") + $id).find(".name").attr("border", "thick");
But it doesn't seem to be working. What am I doing wrong in here?
...
For the last hour and a half I've trace Javascript calls in a Magento shop I'm building, because I have the strange effect that, when checking out, I can not leave page 2 (shipping address) of the onepage checkout, unless I switch from "send to this address" to "send to another address".
I've traced it down to this piece of javascript...
I have a site that loads information using the XMLHttpRequest when a user clicks a link. The system works well but I would like to be able to execute JavaScript gathered in this process.
This is a problem as I would like to download the scripts 'on demand' if it were, rather than loading them all when the page is loaded.
Thanks for any...
I'm writing an application in which I need to simulate a textarea. The only way I know how to approach it is to capture the keyCode on a key event. How would one go about taking that keyCode and, supporting utf-8, apply that to the canvas?
Cheers
...
Run this in IE 7,8 or 9.
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>IE input value</title>
</head>
<body>
<form action="">
<input id="test" type="text" name="username">
</form>
<script>
var input = document.getElementById("test");
alert(input.value);
setTimeout(function(...
In raw Javascript, how would one go about checking that a specific hash tag exists in a url, then grab the value?
Example: http://www.example.com/index.html#hashtag1=value1&#hashtag2=value2
I want to be able to grab the value of either hashtag1 or hashtag2.
...
Is there a javascript solution to read the url,create a string from it, and build a if statement based on the results? Does anyone know of a tutorial or can provide me with some tips of how to accomplish this.
To be more specific I am trying to do this based on a search result. So.. for example the url is something like:
http://www...
Hi
Is there a good tutorial for Graphael (special line charts), I currently trying to implement such a graph with grafael http://www.highcharts.com/demo/?example=line-time-series&theme=default unfortunately there is no documentation.
...
I have a below requirements, I would like to know how feasible it is to implement this with Wicket table components.
A web page should contain a table initially with one row.
On the bottom of the table there should be some links to add row in AJAX way(No page refresh)
I should be able to clone a selected row when I click a link on the ...
I am using a ComboBox from the ASP.NET AJAX Toolkit (version for .NET 3.5) with values populated into its DataSource property.
If I use my mouse to drop the combobox down and select a value, then highlight the value and click backspace, I get an error:
Microsoft JScript runtime error: '_optionListItems[...].text' is null or not an obj...
Hey everyone, take a look at the code below and appreciate how messy the id attributes are
View File
<?php foreach($array_project as $prj) : ?>
<div id="prj-p<?=$item['project_id'] ?>">
<?php foreach($arr_skill as $skill) : ?>
<h2><?=$skill['name'] ?></h2>
<a class="view" id="skill-p<?=$prj['project_id'] ?>-s<?=s...
my input array has:
results[num_row] = {
'title': title,
'url': url,
'support_url': support_url,
'description': description,
'contacts': contacts
};
I get the results back:
function formatItem(item){
var highlight = $.Autocompleter.defaults.highlight;
var temp = '<span class="title">' + highlight(item.title...