|
Hi there.. I wrote a nodejs article and posted for moderation.
It is neither showing any change in its moderation status from pending.. nor is it showing up on the 'articles pending review' section.
Did I have to do something which I missed because of which it is pending.. or am I missing to understand any reviewer comment ?
<a href="http://www.codeproject.com/Articles/339740/Know-Javascript-use-node-js-server-side">Know Javascript..use node.js server-side</a>
-Harish
-- modified 31-Aug-22 21:01pm.
|
|
|
|
|
You have only just posted this so it is awaiting acceptance from the reviewers. Please be patient, everyone here contributes in their own time and at no cost (to you).
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Article updates (requested edits or moderation queue checks) typically take a couple of working days.
|
|
|
|
|
I have define a variable in window A.
I set it to parent.variable=xxxx
Now I open a new tab (window B).
Can I access or take the parent.variable from window A in window B ?
|
|
|
|
|
Only if window B can refer to something in A's tree. I think when A spawns B it gets a reference to the new window, so A can add a reference to its own window into B's (i.e. new_window.referenceToA = window), and then code in B can use window.referenceToA.xxx.
|
|
|
|
|
If you opened the new window from the original window, you should be able to access the
window.opener property in the DOM of the new window. This property gives you access to the DOM of the original window.
Here is a link to the MDN entry for this property click[^]
Cheers!
|
|
|
|
|
You might want to use a 'hidden' input on your form. When the page opens in the iframe you can grab the value from the Request object and use it in your iframe. I see the requirement not to use cookies.
Jack
|
|
|
|
|
Hmm: I was going to say "what's your question?" but I think you've just posted in the wrong place - this belongs as an answer to a thread below I think.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hey,
Any ideas why this won't work? i want the text and image to go back to the original position then repeat the previous animation, so the text goes out to the right then resets, and comes back in from the left, and the same for the image ..
<
<html>
<head>
<script type="text/javascript" src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js'></script>
<script type="text/javascript">
$(document).ready(function(){
bringIn();
function bringIn()
{
$("#animation_image").animate({top:10},"slow");
$("#animation_text").animate({left:30},2000);
window.setTimeout(takeOut, 5000);
};
function takeOut()
{
$("#animation_image").animate({top:401},"slow").queue(function(){
$("#animation_text").animate({left:1000},"slow",bringIn);
$("#animation_text").css({"left":"-600px"});
$("#animation_image").css({"top":"-200px"});
$("#animation_text").html("Why you no working");
});
};
});
</script>
</head>
<body>
<button>Start Animation</button>
<br /><br />
<style type="text/css">
#animation_box
{
position:relative;
width:800px;
height:300px;
margin:0px auto 0px auto;
background-color:#333333;
overflow:hidden;
}
#animation_text
{
position:absolute;
display:block;
z-index:2;
left:-600px;
top:20px;
width:300px;
font-family:Arial, Helvetica, sans-serif;
font-size:30px;
line-height:45px;
color:white;
}
#animation_image
{
position:relative;
display:block;
float:right;
top:-200px;
margin-right:10px;
}
</style>
<body>
<div id="animation_box">
<div id="animation_text">
<ul>
First 3 hours £36
</ul>
</div>
<div id="animation_image">
<img src="img/slides/img8.jpg" id="animation_img" width="420px" height="280px" alt="Car image"/>
</div>
</div>
</body>
</html>
Thanks for all your help
|
|
|
|
|
how can i pass parameter from 1 page to another using javascript i cannot use query string and cookies.
{ my task is i have a page page1 in which there are two links on clicking that link it open in iframe of new page page2 }
any suggestion would be great help for me
Thanks in advance.
|
|
|
|
|
|
Take hidden field in the form assign variable value.On first page tag write window.open("Page name") and on second page <script> use this code window.opener.document.getElementById('text1').value
|
|
|
|
|
Hi,
I have a myPage.aspx page and 2 user controls, ucA and ucB. ucA (parent control) is being used in ucB (child control inherits ucA). Finallly ucB is registered in myPage.aspx. I have two dropdowns in ucB.
Now, I am trying to put the selected values of these dropwdowns in a hidden variables using the below code and I am putting this in myPage.aspx page_load code
Page.ClientScript.RegisterHiddenField("LabValue", labname selectedvalue using FindControl)
Page.ClientScript.RegisterHiddenField("ClientValue", ClientName SelectdValue using FindControl))
The above code runs fine and no errors.
Now in the exeternal .js file I am accessing this values as
var lv = document.getElementById("LabValue").value;
var cv = document.getElementById("ClientValue").value;
All look fine. But the issue is no matter what values I put in the LabValue and ClientValue hidden fields I always get the values as 0 for lv and cv (java script variables).
Say for instance if LabValue is 10002 when I try to access it via javasacript using document.getElementById("LabValue").value; I always get 0 instead of 10002. It is the same case with the other hidden field too.
When I looked at the myPage.aspx viewsource I always see
<input type="hidden" name="LabValue" id="LabValue" value="0" />
Am I missing some thing here?
Thanks in advance,
L
modified 24-Feb-12 20:04pm.
|
|
|
|
|
|
I assume you are after the functionality of tracking the mouse position using those red lines on the top and left of the content area...
You can use the jQuery mouse move event to track the mouse position. You can then position some red colored divs at the x and y coordinates of the mouse.
|
|
|
|
|
No Sir,
I want the Ruler which is On the corner of the Image Layout with margin.
If you can think then I Can.
|
|
|
|
|
Did you bother reading the source code?
|
|
|
|
|
Hello Dear,
I am providing a code you add own event just like the following code commented.
<script type="text/javascript">
var OnMapCreating = function(map) {
var mapParser = Map1.GetMapParser();
mapParser.addControlsInJson = function(controls, onDrawEnd, onEditEnd) {
for (var key in controls) {
if (controls[key]) {
if (key == 'Modify') {
if (onEditEnd) {
controls[key].onModificationEnd = onEditEnd;
}
} else if (key != 'Normal') {
if (onDrawEnd) {
controls[key].featureAdded = onDrawEnd;
//controls[key].featureAdded = function() {
// alert('ok');
//}
}
}
this.map.addControl(controls[key]);
}
}
}
}
script>
|
|
|
|
|
i'm trying to call a web service from java script code stored NOT in Html but in an extenarl file .js. My code is this:
service.useService("http://localhost:10000/WebS_cod_01/WebS_codEurService.asmx?wsdl", "WebS");
Photo = service.WebS.callService("webS_codEurProcessWS" , photoID);
checking with Firebug i find this message:
"service is not defined"
where i'm wrong ?
thanks in advance
|
|
|
|
|
|
i am using console.log() in my code.where the output will be printed.
modified 16-Feb-12 0:42am.
|
|
|
|
|
|
|
Hi,
i like to disable the buttons on check of the checkbox....using Jquery
i have tried in 3 different ways...
1.attr("disabled", true)-- working in IE not in FF
2.attr("disabled", "disabled")- working in IE not in FF
3.attr("diabled") not working in both...
i want to know the property which is supported by all the browsers(like safari, chrome etc..)
thanks in advance
|
|
|
|
|
I suspect the problem is somewhere else. $('#id').attr('disabled',true) is working for me in FireFox, IE, Chrome and Opera. Setting it back to 'false' enables the inputs again.
|
|
|
|