Hi all!
I have following structure of web application, for which I'm automating testing:
<em unselectable="on" class="x-btn-split">
<button type="button" class="x-btn-text " id="ext-gen523" title="Add Options">Add</button>
</em>
Both objects has event listeners,added viw JavaScript in some linked js-file (I don't know what f...
Hello,
how can i get a list of my friends friends in Facebook using any Facebook API?
I've seen this working on some Facebook apps - like the Marketplace app that allows to search for ads from my friends and their friends.
How do they do it?
However, I'm getting stuck with FQL here:
"SELECT uid2 FROM friend WHERE uid1 in ( select ui...
javascript:delete_reply_notify('14557174');void(0)
it make javascript delete one row which id = 1455174
but ,why is void(0)? what's mean ?
...
Hi. Is it possible to load js scripts like this with commas separating the scripts:
<script src="/js/enhance.js,enhance.config.js" type="text/javascript"></script>
I am using the Filament Groups progressive enhancement javascript library 'EnhanceJS' and I am trying learn from their website www.filamentgroup.com where this technique is...
Hi,
I have a table row elements:
... <tr index="1000" class="class1 classHighlightRed"> ...
... <tr index="1000" class="class1 classHighlightYellow"> ...
I would like to check the value of the second class against some constants.
E.g.
If (2nd class == "classHighlightRed") Then
{
doSomeWork;
}
At the moment...
Hello All,
I am currently working on a project where I need to go for draggable elements. There will be list of options e.g. Sunday, Monday, Tuesday... Saturday. Here user will be selecting any of them, say Sunday, Wednesday, Saturday. I need to display them in such a way the user can realign them in any Order.
E.g
Sunday
Saturday
Wed...
I have a simple animation based on jQuery fadeIn and fadeOut - it just shows some elements and hides others sequentially when a visitor loads main page of the site. So, I use this animation only on one page. I only want this to be shown one time per session so that when user clicks "Home", this wouldn't show up any more, just skipped. Ho...
I have this function:
function addButtonLookup() {
var element = document.getElementById("btnToolBar");
var index;
for (var i = 0; i < lookupArray.length; i++) {
index = i;
var btn = document.createElement('input');
btn.type = 'button';
btn.value = '' + lookupArray[i];
btn.name = 'b...
Hi All,
i have the problem for IE7 and 8 browser in Mozila FF and chrome works finely.
the problem is basically the dropdown menu is made of pang images with shadow effect for menu in this site it shows perfectly when i browsing with Mozila FF & Chrome
But the problem comes when i am browsing the site with IE7 & 8
the menu shows soli...
Hello all,
I have a HTML page that is generated by JavaScript (JQuery). It makes use of JQGrid. This is the source of the page.
I attempt to change one of the widths and check its width like so:
var width = window.screen.availWidth; //1280
$('#gbox_grid').css('width', width);
alert($('#gbox_grid').width()); //alerts a null
But the ...
Hi everybody. I want to perform the following actions.
The msg is sent from my app to other iphone.
The recipient opens that msg.
I want to execute some scripts(like some kind of animation or something) as soon as the msg is opened in iphone.
So is this kind of action available in iphone? can i execute some kind of script like perl o...
Hi, i have the following code:
function getArticleContent() {
var toPromote = 'example';
var toReplace = '<a href="/tags/'+toPromote+'">'+toPromote+'</a>';
var content = $(".a-entry").text();
if (content.search(toPromote) > -1)
{
$('.a-entry').html($('.a-entry').html().replace(new RegExp(toPromo...
When I try to set the currentTime of the HTML5 Video element in Chrome 5.0.375.86 like:
video.currentTime = 1.0;
I am getting the following javascript exception:
Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1
It works fine in Safari. Has anybody experienced this??
...
I've been reading and doing some testing and found that the command. "Length" of the Array () javascript does not work when the array's keys are string. I found that to run this command, I use whole keys.
However, I wonder if any of you can tell me why this rule? Limitation of language, or specification of logic? Or, my mistake ...?
Th...
Why when I set a form with the numeric character reference of an unicode with javascript the character is not converted to its correct representation, but when I set the form directly from the html it works?
<html>
<head>
<script language="javascript">
function test()
{
document.InputForm.TextBox.value = ...
Is it possible to get confirmation dialog with yes , no option instead of ok,cancel in javascript ?
...
Hello all,
I make use of class selectors in JQuery and this works fine but in IE6 this fails as it does not apply the width I would like.
$('.ui-state-default .ui-jqgrid-hdiv').css('width', width);
If I try it one class it works?? But I need to apply that width to a div that has both those classes.
Thanks all for any help.
Upda...
Hello,
I have the following code to create two buttons (one on the left one on the right) for each texbox on the page. Idea is to make an increment/decrement textbox. Code works fine with one textbox but with 2 or more every button increment/decrements all textboxes.
Any idea how to create buttons on the fly and attach them to a textbox...
Think Windows Explorer's 'Details' view. I need to output my database to this view.
Here's what I need:
Columns should be horizontally resizeable.
Columns should be able to be reordered via. dragging and dropping their headers.
I need to be able to sort the data by a given column, like when its header is clicked on (with toggling for...
Hello,
I have an anchor tag on my web page that is currently defined as:
<a href="mailto:[email protected]?subject=Welcome&body=Check this out, please click <a href='http://www.mydomain.com'>here</a>">Send to a Friend</a>
As this link demonstrates, I'm trying to send some HTML in an email when a user clicks a link. Ho...