Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting, but (despite the name) is NOT related to Java. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). A pure JavaScript answer is usually expected, except if a tag ...
0
votes
0answers
2 views
How to escape a string to valid filename with Node.js
I have a string with a varying company name, which can contain different kinds of special characters.
I need to escape this company name to be a valid filename.
Does Node.js have a specific module ...
0
votes
0answers
3 views
i need to hide the first line and last line of the list in sencha touch 2?
i want to hide my first and last line in list (sencha touch 2).please help me
Ext.define("TestSatham.view.FileGroupList",{
extend:"Ext.dataview.List",
requires:["TestSatham.store.FileGroupList"],
...
0
votes
0answers
7 views
Move elements to iframe's parent with data and events
this is the situation.
I have a complex UI inside an iframe in which a user can perform several actions before submitting. During the process, the user can switch to another page (in the iframe) and ...
0
votes
1answer
19 views
How the write “@” in a razor java script function?
I am trying to add an email validation to one of my forms in a view:
function validateForm(){
var x=document.forms["myForm"]["email"].value;
var atpos=x.indexOf("@");
var dotpos=x.lastIndexOf(".");
...
0
votes
2answers
29 views
document.getElementById() not working when call javascript function from code behind in c#
I have a javascript function that is working fine in default.aspx when click on a link button.
However, when I call this function from code behind, it cant work.
Here is part of my code in ...
0
votes
0answers
6 views
Load jQuery tabs after XMLHttpRequest
I have a Codeigniter site with 3 columns, the first showing a list of ships. When a ship is selected it loads information on the ship to the center column via the controller. I would like to get tabs ...
0
votes
0answers
4 views
ASPX - display current Internet Explorer Settings
I am having some compatibility issues between different browsers. To help narrow these down I would like a support page on the site to display current user settings (including Security Settings) i.e.
...
0
votes
1answer
17 views
Javascript: Best way to get elements by size
I have to get all the elements in an HTML page having size 300x250 (just the parent though. So if a DIV is 300x250 and has an image inside of the same dimension I shall get just the div).
I can't use ...
0
votes
0answers
13 views
jQuery when() function: does it fire before each single done?
I've a bug, and I suspect is due to my bad knowledge of jQuery.
The scenario is described in the snipped below:
var towait = [];
towait.push($.get('someurl',function(data){ dosomething...}));
...
0
votes
0answers
14 views
JQuery get th or td text from tr empty spaces issue
I'm using JQuery Mobile table:
<table data-role="table" id="productTable" data-mode="reflow" class="tablesorter ui-responsive table-stroke my-custom-breakpoint">
<thead>
...
0
votes
1answer
22 views
Checking a url in a post
I have created a comment form and i want to know how to check if someone has posted a url in it. It works on a simple code and it can be downloaded from ...
0
votes
0answers
6 views
mootools setProperty method does not work on iphone, ipad
I want to change anchor tag's href property using mootools setProperty method
It does work in all browser including chrome and safari but not working on iphone, ipad and android mobile.
e.g. ...
1
vote
1answer
11 views
How to detect current web page or element direction (rtl/ltr) or any other attribute in javascript?
How can i read any attribute that currently effects an element that is not necessarily style? one such attribute would be "dir".
-1
votes
1answer
19 views
how to capture the paginated data in php
I'm new to PHP. I'm capturing data using curl_exec() in PHP. But it only captures data which is present in first page. My captured website consists more than one page data, which is shown as ...
-2
votes
3answers
26 views
Website is not working on Mobile browser
I am very new in Web development. I design a website http://Jainbakers.com . It is working fine on the desktop or laptop. When i am opening it into Mobile browser (Android or iPhone) it does not open ...