الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

جافا_سكريبت

Featured Replies

بتاريخ:

السلام عليكم 

عند انشاء فورم اريد ف حالة حقل فارغ يلونه 

 

هدي محاولتي 

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html" />
<meta name="author" content="lolkittens" />


<title>Untitled 2</title>
    <script type="text/javascript">
    
    function fun_as{
        var x=true;
        if (!document.GetElementById("a").value)
        {
        document.GetElementById("a").style.background = "blue";
        }
        x=false;
        return x;
        }
    
    
    
    </script>
</head>


<body>


<form action="onsubmit=" onsubmit="return fun_as ( );"> 
<label for="a">


In put the text :        
<input type="text" id="a" />
</label>
<label for="asera1">
<pre>
<input type="radio" name="nam" id="asera1" /> 1a 
<input type="radio" name="nam" id="asera1" /> 2a
<input type="radio" name="nam"  id="asera1"/> 3a
</pre>
</label>
<label for="asera2">
<br /> <br /> 
year : 
<select id="asera2">
<script type="text/javascript">
var i;
document.write("<option></option>")
for(i=1980;i<=2015;i++){
document.write("<option value="+i+">"+"year"+i+"<br /></option>");
}


</script>
</select>
</label>
<br /> <br /> 
<input type="submit" value="Submit" />
<input type="reset" value="reset" /><br /><br />
<p id="a">
 <input onclick="return fun_as();" type="submit" value="onSubmit" />
</p>
<br />




</form>


</body>
</html>
 
ولدي اسئله اخري ارجو افادتي بهدا اولا وشكرا 

تم تعديل بواسطة ميسم الكرام

بتاريخ:

المنتدى خاص بمنتجات أوراكل ...لا أعتقد ستجدين إجابة لما سألت 

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.