I have what should be a relatively simple task that's frankly got me stumped. I've researched it until my brain is fried, and now I'm punting, and asking you guys for help.
Here's the scenario:
I have an ASPX page (Q2.aspx) that is decorated with the WebService,
WebServiceBinding, and ScriptService attributes.
That page contains a ...
If I'm adding content in page through JavaScript will it be crawl-able by Search engine spider and accessible by screen reader.
For example this
var tip = "<p>Most computers will open PDF documents ";
tip += "automatically, but you may";
tip += "need to download <a title='Link to Adobe website-opens in a new window'";
tip +=" href='htt...
Hi.
I very like MySQLs mysql cli tool and I don't like phpMyAdmin.
[IMHO]It's a nice thing for a Windows user, but its not so good when you've used to console.[/IMHO].
What I want is to build a web page containing element with console-like input (for example something like this) which should get input from user, send it to PHP script o...
Hi All,
Is there any option to disable the Export to Microsoft Excel menu in the IE browser right click.
I tried the web.config method and also changing the system registry using regedit.exe
As i want this menu to be disabled to users who are accessing my application.
...
how can I update my twitter status from a w3c widget using only http/css/javascript? this is a mobile based widget.
i have my own tweetbox already. what i want to do is when the 'tweet' button is clicked, my twitter status will be updated. I have read about oauth and I find it difficult to understand and implement. I dont think cURL co...
I've created some custom live templates with Reshaper 5.0 for C# files and they work fine. They also work for for JavaScript inside a .aspx file too.
However, when I try to use my custom live template shortcut keystrokes inside a .js file, which is part of the Visual Studio 2010 solution, nothing (related to Resharper) shows up in the c...
Hi,
I am facing issue with the following Json reponse object in the javascript eval function;Getting java script error expected }
because of special characters Tamás and Török
{[{"userFirstNm":"Naresh","userAsscId":"70336","userLastNm":"Yashwantrao","userLanId":"a70336"},{"userFirstNm":"Tamás","userAsscId":"37732","userLastNm":"Török"...
For the function (function($){})(), I've seen it with the word jQuery in it, why is that?
I have read this page http://stackoverflow.com/questions/1925291/javascript-why-does-jquery-do-this-function-and-how-does-it-work but it didnt tell about an example like this:
(function($){})(jQuery);
What does that jquery in the parenthesis do?...
Ho to store multiline text in a javascript variable;
I am using PHP to assign value to javascript variable.
Please see a SAMPLE code below
<html>
<head>
<title> New Document </title>
<?php
$foo = " this is a
multiline statement";
?>
<script>
bar = '<?php print $foo;?>';
alert(bar);
</script>
</head>
<...
Hi all, I have the following function in JavaScript every part of the if statement executes properly except giving focus back to the element which called the function. It does not work in IE or Fire Fox, and neither browser gives me an error. It looks correct to me... Why isn't it working?
function check(x){
//doing some stuff
...
I have a nested tree. Under each <li> tag I have a string value and an integer value. Which way is more efficient: storing them inside <li> options, say integer under "id" option and string under "title", or storing them in a hidden <input> values under each <li>
I'm using jQuery to find elements in a DOM now, but I'll gladly accept mor...
I am using:
$(window).bind( 'hashchange', function(e) { });
to bind a function to the hash change event. This seems to work in IE8,firefox, and chrome but not in safari and I assume not in earlier version of IE. For these browsers, I want to disable my javascript code that uses the hash and hashchange event. Is there a way with jQu...
Hi,
I can't recall what the process is called but I need a means of creating like a hotspot zone on a web page, so that, when the user hovers there mouse pointer over this zone, the cursor changes to a pointer, which will then allow the user to go to a particular site.
Pls note that I am not referring to a simple anchor tag around an i...
What's the difference between empty() and remove()methods in JQuery, and when we call any of these methods, the objects being created will be destroyed and memory released?
...
i using SyntaxHighlighter and i have an text area
<textarea id="content" onchange="perview();"></textarea>
and
function perview() {
var code = $("textarea#content").val();
$('#code-preview').html(code);
}
and
<pre id="code-preview" class="brush: php;"></pre>
and i started the highlightrt
SyntaxHighlighter.all();
but when ...
I'm using one of the new HTML5 input types, number:
<input type="number" />
In Opera, which is the only desktop browser I know of which currently recognises it, it renders it as such:
The problem I'm facing is one of validation. If a user types something invalid into the field, eg: "abc", the value returned by myInput.value is an e...
Hello everyone,
I'm working on this project website wherein i will be adding a chat application where users can communicate with each other. I already have developed a chat room webpage which is now functioning well. However, what I want is to create a "Chat Room" link on my website which will just pop out the chat room as a pop-up wind...
Hi All,
Is there any possibility to identify which menu has been selected on right click in an IE7 using the command oncontextmenu.
If yes can you please share the code?
...
Okay, I'm a little stumped. I'm probably missing something blatantly obvious but apparently I just can't see the forest for the trees:
I'm trying to call a JavaScript function that expects its parameter to be an array, i.e. it checks if (arg instanceof Array)... Unfortunately, I (or Rhino) just can't seem to create such an array:
Con...
i am using a HTML table to show data, and i want that user can darg and dorp the table rows to sort the data as per there need.
the HTML code for the table...
<table id='datagrid'>
<tbody>
<tr>
<td>1</td>
</tr>
<tr>
<td>2</td>
</tr>
<tr>
<td>3</td>
</tr>
</tbody>
</ta...